# HG changeset patch # User never # Date 1266379668 28800 # Node ID 106f41e88c850e44f365cd663f1e86425184d71a # Parent e7b1cc79bd2584676fc4106965f35ce6f0d2544c 6877221: Endless deoptimizations in OSR nmethod Reviewed-by: kvn diff -r e7b1cc79bd25 -r 106f41e88c85 src/share/vm/opto/parse1.cpp --- a/src/share/vm/opto/parse1.cpp Tue Feb 16 16:17:46 2010 -0800 +++ b/src/share/vm/opto/parse1.cpp Tue Feb 16 20:07:48 2010 -0800 @@ -824,7 +824,6 @@ case Bytecodes::_ddiv: case Bytecodes::_checkcast: case Bytecodes::_instanceof: - case Bytecodes::_athrow: case Bytecodes::_anewarray: case Bytecodes::_newarray: case Bytecodes::_multianewarray: @@ -834,6 +833,8 @@ return true; break; + // Don't rerun athrow since it's part of the exception path. + case Bytecodes::_athrow: case Bytecodes::_invokestatic: case Bytecodes::_invokedynamic: case Bytecodes::_invokespecial: