Hotspot loves PHP.reboot

John Rose john.r.rose at oracle.com
Wed Sep 7 12:02:33 PDT 2011


On Sep 7, 2011, at 7:24 AM, Rémi Forax wrote:

> so the VM knows that only methods *DetectingOverflow are able to throw that specific exception.
> int addDetectingOverflow(int x, int y) throws IntegerOverflowException
> This also have the advantage that the inlining heuristic can be tweaked
> to not count exception handlers that receive that specific exception.

Generalize this to "UnexpectedTypeStateException" and build that into a set of patterns that accomplish user-defined deoptimization.  That would be worth special-casing in the JVM.

-- John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.openjdk.java.net/pipermail/mlvm-dev/attachments/20110907/f3c472e5/attachment.html 


More information about the mlvm-dev mailing list