[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: "Random" delays in execution
- From: "Javier Guerra" <javier@...>
- Date: Fri, 24 Oct 2008 09:31:49 -0500
On Fri, Oct 24, 2008 at 9:28 AM, Max van Rooij (van Rooij Electronics
Design & Software Engineering) <mvrooij@vanrooij-edse.nl> wrote:
> I have a hunch that Jerome is on the right track, by stating that each
> new thread gets a copy of the cel table which gets marked for GC after
> threads' end. If this is the case, then how to prevent it?
as you already did: forcing a GC after terminating a thread.
even better would be to reuse it, of course. for that, don't let it
finish, but wrap into a loop that yields after the task is done.
the drawback, of course, is a lot less isolation between tasks
--
Javier