[Pharo-project] Another fixes to finalization (was Re: [update 1.2] #12161 - #12172)

Chris Muller asqueaker at gmail.com
Sun Oct 3 16:53:19 EDT 2010


And this is why I had that #isTimeToClean (90-second timer) hack in
the MaDictionary's...

On Sat, Oct 2, 2010 at 12:01 PM, Igor Stasenko <siguctua at gmail.com> wrote:
> On 2 October 2010 19:47, Stéphane Ducasse <stephane.ducasse at inria.fr> wrote:
>> Hi igor
>>
>> do you understand why the previous definition was
>>
>> cachedDefinitions
>>        Definitions ifNil: [Definitions := WeakIdentityKeyDictionary new.  WeakArray addWeakDependent: Definitions].
>>        ^ Definitions
>>
> i don't. :)
>
> It just a way to free memory as fast as possible.
> But its really not worth spending so much CPU in order to save few
> bytes of memory.
>
>> Stef
>>
>> On Oct 1, 2010, at 7:34 PM, Igor Stasenko wrote:
>>
>>> Here the simple fix for it.
>>>
>>>
>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Igor Stasenko AKA sig.
>>> <mc-cache-fix.1.cs>_______________________________________________
>>> Pharo-project mailing list
>>> Pharo-project at lists.gforge.inria.fr
>>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>>
>> _______________________________________________
>> Pharo-project mailing list
>> Pharo-project at lists.gforge.inria.fr
>> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>>
>
>
>
> --
> Best regards,
> Igor Stasenko AKA sig.
>
> _______________________________________________
> Pharo-project mailing list
> Pharo-project at lists.gforge.inria.fr
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project




More information about the Pharo-dev mailing list