help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Help-smalltalk] grow_dictionary


From: Gwenaël Casaccio
Subject: [Help-smalltalk] grow_dictionary
Date: Tue, 09 Jul 2013 03:45:43 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130623 Thunderbird/17.0.7

Hi,

I think that grow_dictionary and grow_identity_dictionary could leak
the newly allocated dictionary when calling _gst_swap_objects: it can tenure
objects and in the worst case will do a GC (no_memory handler is called).
The two objects should be GC protected in the grow*_method.

Do you agree with my statements ?

Cheers,
Gwen




reply via email to

[Prev in Thread] Current Thread [Next in Thread]