Yes stupid me.
Now in Squeak or Cuis the equivalent of MethodContext was not crashing.
So there is something strange.

In any case  may be then we should pay attention to

        allInstancesDo: and friends

Stef

On Aug 5, 2009, at 5:53 PM, Marcus Denker wrote:

>
> On 05.08.2009, at 11:30, Stéphane Ducasse wrote:
>
>> Hi guys
>>
>> MethodContext allInstances size  seems to loop forever or even to
>> crash my VM.
>
> This might be because new instances are created while executing the
> expression.
>
> Normally contexts are recycled. But the list of contexts available for
> recycling in the vm is flushed (gc) or can just have none to recycle
> anymore.
>
> Therefore, while executing code new instance of MethodContext are
> created,
> leading to an endless loop for "allInstances".
>
> That´s my theory..
>
>
>       Marcus
>
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project


_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to