diff src/share/vm/runtime/vframeArray.cpp @ 2607:008adfd6d850

Fixed the stateBefore of invokes and monitorenter instructions to include the arguments of the instruction. This is necessary to ensure correct continuation in the interpreter when the stateBefore is used as a deoptimization point.
author Thomas Wuerthinger <thomas@wuerthinger.net>
date Fri, 06 May 2011 17:47:17 +0200
parents d25d4ca69222
children 5ca1332171c8
line wrap: on
line diff
--- a/src/share/vm/runtime/vframeArray.cpp	Fri May 06 16:21:10 2011 +0200
+++ b/src/share/vm/runtime/vframeArray.cpp	Fri May 06 17:47:17 2011 +0200
@@ -304,6 +304,10 @@
       iframe()->interpreter_frame_set_mdp(mdp);
     }
   }
+  
+  if (TraceDeoptimization) {
+    tty->print_cr("Expressions size: %d", expressions()->size());
+  }
 
   // Unpack expression stack
   // If this is an intermediate frame (i.e. not top frame) then this