On Sat, Jan 7, 2012 at 4:04 PM, Levente Uzonyi <[email protected]> wrote:
> 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,
That's an interesting point. Now I understand this better. Even if I didn't
know the reasons (now I do), I even tried adding some more senders but
still they appear :(
I tried (for example)
objectsToAlwaysExclude := {
results collector.
thisContext.
thisContext sender.
thisContext sender sender.
thisContext sender sender sender.
thisContext sender sender sender sender.
thisContext sender sender sender sender sender.
objectsToExclude.
}.
What I don't understand is why in Squeak it does work.
Thanks in advance Levente!
> 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<http://marianopeck.wordpress.com>
>>>>>> >>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>> --
>>>> 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