On Sun, 8 Jan 2012, Mariano Martinez Peck wrote:

What I don't understand is why in Squeak it does work.


Because #pointsTo: is not used in Squeak (yet). As usual I dug deeper than
I should have, so I'll publish a few changes soon.


Ok, you are right. Squeak #inboundPointersExcluding:  is using
#instVarsInclude:  rather than #pointsTo. And that solves the problem in
Pharo as well. But still, I would like to understand why we get those
method contexts with #pointsTo.

Because #pointsTo: is a normal message send, it even sends other methods, so it will create contexts.

Thanks Levente for your help. If you find something let us know, I want to
learn :)

I pushed my changes to the Squeak Inbox, which fully works around this issue. The changes about weak references can simply be removed if you don't like them, the rest will just work without them.


Levente


Thanks



Levente


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 <http://marianopeck.wordpress.com>>






 --
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


Reply via email to