05-02-27 19.28, skrev Marco van de Voort följande:

>>> Thats a possibility, but then you do not win anything by running it in a
>>> thread. It could as well be run when a memory allocation is done, and then
>>> as a subroutine.
>> 
>> No, because the background thread get more time slices during idle moments
>> and 
>> none at all during intense computations.
>> GC have to release the control as fast as possible and be able to resume the
>> job where it left it.
> 
> It can also compact generations that are not in the current working set.

If it is not in the working set it is not alive, no ?

Then it doesn't need compaction ?

Olle


_______________________________________________
fpc-devel maillist  -  fpc-devel@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-devel

Reply via email to