[squeak-dev] Re: Multiple finalizers per single object

Igor Stasenko siguctua at gmail.com
Fri Sep 24 14:18:45 UTC 2010


On 24 September 2010 17:12, Marcel Taeumel
<marcel.taeumel at student.hpi.uni-potsdam.de> wrote:
> Just a thought on finalization in general:
>
> If we only need one finalizer per object, why not just allow a class to implement #finalize that will be called right before the object will be garbage collected? That would be more convenient.
>

Because a finalization in Squeak is post-mortem action.
What you proposing is pre-mortem action, which will require a lot more
work and changes in VM.


> Ciao
>
>
>



-- 
Best regards,
Igor Stasenko AKA sig.



More information about the Squeak-dev mailing list