[self-interest] dynamic deoptimization (was: ARM?)

baltasarq baltasarq at gmail.com
Tue Dec 13 12:39:24 UTC 2011

	Hi, there !

> This is *really* hard to so and I don't know which VMs beside the Self
> one can do it. One reason why most VMs don't do it is simply that it is
> hard to miss something that you have never had. Just like the industry
> thought for decades that garbage collection was a needless complication,
> the debugging environments most people are used to have that limitation
> but there is nobody demanding that it be fixed.

	I am not sure I completely understand this.

	Say that I create a debug mode, in which the bytecode is interpreted, and that I offer a callback that is executed after each instruction in the VM is executed. Say that the code is JIT'ed only in the release mode. Wouldn't that eliminate the need to that dynamic deoptimization?

Baltasar (baltasarq at gmail.com  http://baltasarq.info/)

More information about the Self-interest mailing list