[Pharo-project] Bug in #pointsTo: ?

Levente Uzonyi leves at elte.hu
Sat Jan 7 10:04:57 EST 2012


On Fri, 6 Jan 2012, Mariano Martinez Peck wrote:

>>
>>>>  Thanks Levente. However, #pointersToExcept:  does a GC at the
>>> beginning...
>>> so.. am I missing something?
>>>
>>
>> Yes, at the beginning The MethodContexts are created after that GC.
>>
>>
> But those MC shouldn't be excluded by the instVar  objectsToAlwaysExclude ?
>
> objectsToAlwaysExclude := {
>        results collector.
>        thisContext.
>        thisContext sender.
>        thisContext sender sender.
>        objectsToExclude.
>    }.

Since #pointsTo: is not a primitive anymore, it will create at least one 
new MethodContext which is not included in that list.


Levente

>
>
>
>
>
>>
>> Levente
>>
>>
>>> Thanks again.
>>>
>>>
>>>
>>>> Levente
>>>>
>>>>
>>>>
>>>>
>>>>> Do you mean what I understand :)? that some tools compiled methods? :)
>>>>>
>>>>>
>>>>>> Stef
>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>> --
>>>>> Mariano
>>>>> http://marianopeck.wordpress.****com <http://marianopeck.wordpress.**
>>>>> com <http://marianopeck.wordpress.com>>
>>>>>
>>>>>
>>>>
>>>
>>> --
>>> Mariano
>>> http://marianopeck.wordpress.**com <http://marianopeck.wordpress.com>
>>>
>>
>
>
> -- 
> Mariano
> http://marianopeck.wordpress.com
>




More information about the Pharo-dev mailing list