diff src/share/vm/opto/parse1.cpp @ 991:3a2aa26bdc58

6854812: 6.0_14-b08 crashes with a SIGSEGV Reviewed-by: kvn, twisti
author never
date Wed, 16 Sep 2009 11:06:10 -0700
parents bd02caa94611
children 87b2fdd4bf98
line wrap: on
line diff
--- a/src/share/vm/opto/parse1.cpp	Tue Sep 15 22:50:12 2009 -0700
+++ b/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");