hotspot/src/share/vm/c1/c1_LIRGenerator.cpp
changeset 6751 b399fd234e47
parent 6745 a34ef8968a84
child 6774 a224d6a24120
--- a/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Wed Sep 29 18:53:28 2010 +0200
+++ b/hotspot/src/share/vm/c1/c1_LIRGenerator.cpp	Wed Sep 29 16:53:42 2010 -0700
@@ -2309,7 +2309,7 @@
 
   // increment invocation counters if needed
   if (!method()->is_accessor()) { // Accessors do not have MDOs, so no counting.
-    CodeEmitInfo* info = new CodeEmitInfo(scope()->start()->state(), NULL);
+    CodeEmitInfo* info = new CodeEmitInfo(scope()->start()->state()->copy(ValueStack::StateBefore, SynchronizationEntryBCI), NULL);
     increment_invocation_counter(info);
   }