comparison src/share/vm/runtime/safepoint.cpp @ 1727:da877bdc9000

6975006: assert(check.is_deoptimized_frame()) failed: missed deopt Reviewed-by: kvn, twisti
author never
date Thu, 12 Aug 2010 23:34:34 -0700
parents c18cbe5936b8
children d5d065957597
comparison
equal deleted inserted replaced
1726:71faaa8e3ccc 1727:da877bdc9000
780 void ThreadSafepointState::examine_state_of_thread() { 780 void ThreadSafepointState::examine_state_of_thread() {
781 assert(is_running(), "better be running or just have hit safepoint poll"); 781 assert(is_running(), "better be running or just have hit safepoint poll");
782 782
783 JavaThreadState state = _thread->thread_state(); 783 JavaThreadState state = _thread->thread_state();
784 784
785 // Save the state at the start of safepoint processing.
786 _orig_thread_state = state;
787
785 // Check for a thread that is suspended. Note that thread resume tries 788 // Check for a thread that is suspended. Note that thread resume tries
786 // to grab the Threads_lock which we own here, so a thread cannot be 789 // to grab the Threads_lock which we own here, so a thread cannot be
787 // resumed during safepoint synchronization. 790 // resumed during safepoint synchronization.
788 791
789 // We check to see if this thread is suspended without locking to 792 // We check to see if this thread is suspended without locking to