hotspot/src/share/vm/opto/parse1.cpp
changeset 3910 67050ceda719
parent 3261 c7d5aae8d3f7
child 4440 e53e962bd403
--- a/hotspot/src/share/vm/opto/parse1.cpp	Tue Sep 15 22:50:12 2009 -0700
+++ b/hotspot/src/share/vm/opto/parse1.cpp	Wed Sep 16 11:06:10 2009 -0700
@@ -229,7 +229,9 @@
     }
   }
 
-  MethodLivenessResult live_locals = method()->liveness_at_bci(osr_bci());
+  // Use the raw liveness computation to make sure that unexpected
+  // values don't propagate into the OSR frame.
+  MethodLivenessResult live_locals = method()->raw_liveness_at_bci(osr_bci());
   if (!live_locals.is_valid()) {
     // Degenerate or breakpointed method.
     C->record_method_not_compilable("OSR in empty or breakpointed method");