Mantis - Squeak
Viewing Issue Advanced Details
7649 VM feature always 06-14-11 19:57 06-14-11 19:57
lewis  
lewis  
normal  
assigned  
open  
none    
none  
0007649: Methods for intercepting class access ([Vm-dev] Minor change for understanding)
Contributed by Jean Baptiste Arnaud on vm-dev list
<http://lists.squeakfoundation.org/pipermail/vm-dev/2011-June/008420.html> [^]

[Vm-dev] Minor change for understanding
Jean Baptiste Arnaud jbaptiste.arnaud at gmail.com
Thu Jun 9 13:38:42 UTC 2011

Hi,
I submit a really small change for make some code more easy to intercept class access in VM.
I do crappy think with class pointer and i would like to indirect the access to the class.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: VM change.1.cs
Type: application/octet-stream
Size: 6028 bytes
Desc: not available
Url : http://lists.squeakfoundation.org/pipermail/vm-dev/attachments/20110609/dfac70bb/VMchange.1.obj [^]
-------------- next part --------------


I just create a method change reference of 4 new one. I have the feeling that make the structure more understandable.
with this change i was able to intercept all class access on my experimental VM by changing 3 method.
I run tiny benchmark for see if the change add overhead on class access. I don't find any overhead.
 
Regard
Jean Baptiste Arnaud
jbaptiste.arnaud at gmail.com
See attachments to email on vm-dev
<http://lists.squeakfoundation.org/pipermail/vm-dev/2011-June/008420.html> [^]

There are no notes attached to this issue.