hotspot/src/share/vm/runtime/safepoint.cpp
changeset 6269 10e06287c0b0
parent 5547 f4b087cbb361
child 6453 970dc585ab63
equal deleted inserted replaced
6268:9e96dde307e9 6269:10e06287c0b0
   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