[Seaside] WeakArray (again)

David Shaffer cdshaffer at acm.org
Sat Mar 25 04:00:18 UTC 2006


Andreas Raab wrote:

> Hi David -
>
>> I'm cross-posting to Squeak-dev and I think this should migrate to that
>> list (since it has come up there several times).  Please follow up to
>> Squeak-dev only.  I don't believe this is a problem for VisualWorks
>> which seems to have a significantly more robust weak reference
>> mechanism.
>
>
> 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).
>
>
No and it is definitely worth a try.  I'll post (and I hope others do as
well) its impact on my applications.

David




More information about the Squeak-dev mailing list