[Vm-dev] Unoptimal #signalFinalization: ?
siguctua at gmail.com
Tue Sep 21 01:36:37 UTC 2010
It looks like that implementation of the above metod is not optimal:
"If it is not there already, record the given semaphore index in the
list of semaphores to be signaled at the next convenient moment. Force
a real interrupt check as soon as possible."
pendingFinalizationSignals := pendingFinalizationSignals + 1.
This method is invoked when GC detects some died object for given weak
If i remember correctly, VM forcing interrupt check after each GC anyways, so
is just a waste of cycles here.
Igor Stasenko AKA sig.
More information about the Vm-dev