On 08/08/2011 03:51 PM, Christian Thalinger wrote: > Since I have the basic push-notification of CallSites I'm now looking into > push-notification of SwitchPoints: > > 7071709: JSR 292: switchpoint invalidation should be pushed not pulled > > Basically it should be the same, just needs some additional love in the > compiler. > > I looked into JRuby's usage of SwitchPoints and it seems it has something to > do with constants. Is there an existing benchmark that would benefit from > the SwitchPoint optimization? Seph also seems to use SwitchPoints, > PHP.reboot does not (that's what grep tells me).
Yes, PHP.reboot doesn't support any metaclass changes unlike Seph or Ruby. The metaclass example in the cookbook use a SwitchPoint, I can modify it to do a perf test, currently the callsites are called only a few times. > > -- Christian Rémi _______________________________________________ mlvm-dev mailing list mlvm-dev@openjdk.java.net http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev