[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






More information about the Vm-dev mailing list