[Vm-dev] primitiveSetGCSemaphore puzzle
Andreas Raab
andreas.raab at gmx.de
Thu Aug 18 06:22:39 UTC 2011
On 8/18/2011 3:16, Igor Stasenko wrote:
>
> On 18 August 2011 03:10, John McIntosh<johnmci at smalltalkconsulting.com> wrote:
>> That is there to allow the Sophie Memory Policy to aggressively
>> collect statistical data after every scavenge so it could make
>> decisions about when to tenure everything to avoid excessive remember
>> table scanning.
>> That or do a peek every N seconds.
>>
> Well, but doesn't it duplicating the Finalization semaphore?
> It is also signaled when GC is performed.. so i don't see a reason to
> signal same event twice by VM.
The finalization semaphore is signaled for every object finalized. Very
different from signaling once on every GC.
Cheers,
- Andreas
More information about the Vm-dev
mailing list