[Seaside] WeakArray (again)

David Shaffer cdshaffer at acm.org
Sat Mar 25 04:37:57 UTC 2006


Andreas Raab wrote:

> True. From what I've seen over at the Seaside mailing list it seems
> pretty clear that the main issue is that the finalization process
> simply kicks in *way* to often. Have you guys (since you're having the
> problem I think it's appropriate if you can experiment with it a
> little ;-) thought about tweaking the finalization process to run at
> most (say) 20/sec? This is a simple change (see attached CS) which
> could have dramatic impact on your performance. The obvious
> disadvantage, of course, is that this renders any assumptions about
> "Smalltalk garbageCollect" having an immediate effect meaningless
> (which is the main reason the finalization process is implemented the
> way it is).
>
One effect this might have is to cause problems with
WeakArray>>isFinalizationSupported.  I've modified mine to just answer true.

David




More information about the Squeak-dev mailing list