[fpc-devel] Improving Ref Counting
Olle Raab
olle.r at automagika.se
Sun Feb 27 22:50:45 CET 2005
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
More information about the fpc-devel
mailing list