6975006: assert(check.is_deoptimized_frame()) failed: missed deopt

Reviewed-by: kvn, twisti
This commit is contained in:
Tom Rodriguez 2010-08-12 23:34:34 -07:00
parent 1d736d2851
commit a96301c84e
5 changed files with 17 additions and 11 deletions

View file

@ -2110,8 +2110,7 @@ void JavaThread::check_safepoint_and_suspend_for_native_trans(JavaThread *thread
}
if (f.id() == thread->must_deopt_id()) {
thread->clear_must_deopt_id();
// Since we know we're safe to deopt the current state is a safe state
f.deoptimize(thread, true);
f.deoptimize(thread);
} else {
fatal("missed deoptimization!");
}