changeset 1348:106f41e88c85

6877221: Endless deoptimizations in OSR nmethod Reviewed-by: kvn
author never
date Tue, 16 Feb 2010 20:07:48 -0800
parents e7b1cc79bd25
children b4b440360f1e
files src/share/vm/opto/parse1.cpp
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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: