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

@ -782,6 +782,9 @@ void ThreadSafepointState::examine_state_of_thread() {
JavaThreadState state = _thread->thread_state();
// Save the state at the start of safepoint processing.
_orig_thread_state = state;
// Check for a thread that is suspended. Note that thread resume tries
// to grab the Threads_lock which we own here, so a thread cannot be
// resumed during safepoint synchronization.