equal
deleted
inserted
replaced
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 } |