diff src/share/vm/graal/graalCodeInstaller.cpp @ 4678:a03f3fd16b22

Fix reexecute boolean in HotSpot debug information. Introduce "duringCall" flag in FrameState that indicates that the bci of the frame state denotes an invoke that should *not* be reexecuted.
author Thomas Wuerthinger <thomas.wuerthinger@oracle.com>
date Thu, 23 Feb 2012 21:43:59 +0100
parents 41034914e2ee
children fc42b5b6941a
line wrap: on
line diff
--- a/src/share/vm/graal/graalCodeInstaller.cpp	Thu Feb 23 12:06:39 2012 +0100
+++ b/src/share/vm/graal/graalCodeInstaller.cpp	Thu Feb 23 21:43:59 2012 +0100
@@ -486,6 +486,9 @@
   } else {
     Bytecodes::Code code = Bytecodes::java_code_at(method, method->bcp_from(bci));
     reexecute = Interpreter::bytecode_should_reexecute(code);
+    if (frame != NULL) {
+      reexecute = (CiFrame::duringCall(frame) == 0);
+    }
   }
 
   if (TraceGraal >= 2) {