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
_______________________________________________
mlvm-dev mailing list
mlvm-dev@openjdk.java.net
http://mail.openjdk.java.net/mailman/listinfo/mlvm-dev