Strange behaviour of 'WeakArray finalization process'

Lukas Renggli renggli at iam.unibe.ch
Thu Nov 11 16:20:26 UTC 2004


> 70.9% {7113ms} primitives
> 29.1% {2920ms} 
> WeakIdentityKeyDictionary(WeakKeyDictionary)>>finalizeValues
>
> And this was spying on the finalizationProcess, right?
>
> Looks like it spent 30% of its time actually finalizing values, and 
> the other 70% in "primitives" - but probably just waiting around to 
> wake up and do something.  You're measuring clock time, not CPU time.  
> So in fact if this process is low priority, even during that 30% it's 
> probably not using a whole lot of CPU.

Okay right, interpreting the profile logs is a matter of luck, at least 
for me ;)

But still, I think this is too much to spend a third (3 of 10 seconds) 
of the time in the finalizationProcess. I hope this interpretation is 
correct now?

I'm trying to reproduce the same thing with the GC-VM of John now, 
maybe this gives some more hints.

Thanks for the help,
Lukas

-- 
Lukas Renggli
http://www.lukas-renggli.ch




More information about the Squeak-dev mailing list