6877221: Endless deoptimizations in OSR nmethod
authornever
Tue, 16 Feb 2010 20:07:48 -0800
changeset 4905 2c336fd2edc7
parent 4904 186345703249
child 4906 90640ad2d401
6877221: Endless deoptimizations in OSR nmethod Reviewed-by: kvn
hotspot/src/share/vm/opto/parse1.cpp
--- a/hotspot/src/share/vm/opto/parse1.cpp	Tue Feb 16 16:17:46 2010 -0800
+++ b/hotspot/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: