Tracing special messages [WAS] Re: [Vm-dev] Re: normalSend, specialObjectsArray and VM

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Tracing special messages [WAS] Re: [Vm-dev] Re: normalSend, specialObjectsArray and VM

Mariano Martinez Peck
Hi. So....if I want to intercept ALL message sends....going to #normalSend is not enough since I have #class, #==, Float>>#+   etc that are executed directly like bytecodes. So...my questions are now:

1) Those special selectors are those that are in "Smalltalk specialSelectors" ?  are there more?  all from there are special?

2) All those "Smalltalk specialSelectors"  have their associated bytecode primitive in Interpreter??  If true, then I should modify all bytecodePrim*  in Interpreter. I am right?   If I do that, that's all ? I am intercepting everything?

Thanks a lot in advance,

Mariano



On Sun, Oct 3, 2010 at 11:09 PM, Craig Latta <[hidden email]> wrote:


> Craig Latta has done all this work, talk to him.

    Sure, I'd be happy to discuss it.


-C

--
Craig Latta
www.netjam.org
+ 31 020 894 6247
+  1 415 287 3547





_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Tracing special messages [WAS] Re: [Vm-dev] Re: normalSend, specialObjectsArray and VM

Mariano Martinez Peck


On Tue, Oct 5, 2010 at 6:23 PM, Mariano Martinez Peck <[hidden email]> wrote:
Hi. So....if I want to intercept ALL message sends....going to #normalSend is not enough since I have #class, #==, Float>>#+   etc that are executed directly like bytecodes. So...my questions are now:

1) Those special selectors are those that are in "Smalltalk specialSelectors" ?  are there more?  all from there are special?

2) All those "Smalltalk specialSelectors"  have their associated bytecode primitive in Interpreter??  If true, then I should modify all bytecodePrim*  in Interpreter. I am right?   If I do that, that's all ? I am intercepting everything?


Sorry I need not to count those bytecodePrim* that do a "normalSend" at the end. Isn't it?
 
Thanks a lot in advance,

Mariano



On Sun, Oct 3, 2010 at 11:09 PM, Craig Latta <[hidden email]> wrote:


> Craig Latta has done all this work, talk to him.

    Sure, I'd be happy to discuss it.


-C

--
Craig Latta
www.netjam.org
+ 31 020 894 6247
+  1 415 287 3547






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