6854812: 6.0_14-b08 crashes with a SIGSEGV

Reviewed-by: kvn, twisti
This commit is contained in:
Tom Rodriguez 2009-09-16 11:06:10 -07:00
parent 47c425506d
commit 7437f0b825
4 changed files with 29 additions and 6 deletions

View file

@ -229,7 +229,9 @@ void Parse::load_interpreter_state(Node* osr_buf) {
}
}
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");