Mercurial > hg > graal-jvmci-8
comparison 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 |
comparison
equal
deleted
inserted
replaced
990:be094e0c089a | 991:3a2aa26bdc58 |
---|---|
227 if (index == 0 && method()->is_synchronized()) { | 227 if (index == 0 && method()->is_synchronized()) { |
228 _synch_lock = flock; | 228 _synch_lock = flock; |
229 } | 229 } |
230 } | 230 } |
231 | 231 |
232 MethodLivenessResult live_locals = method()->liveness_at_bci(osr_bci()); | 232 // Use the raw liveness computation to make sure that unexpected |
233 // values don't propagate into the OSR frame. | |
234 MethodLivenessResult live_locals = method()->raw_liveness_at_bci(osr_bci()); | |
233 if (!live_locals.is_valid()) { | 235 if (!live_locals.is_valid()) { |
234 // Degenerate or breakpointed method. | 236 // Degenerate or breakpointed method. |
235 C->record_method_not_compilable("OSR in empty or breakpointed method"); | 237 C->record_method_not_compilable("OSR in empty or breakpointed method"); |
236 return; | 238 return; |
237 } | 239 } |