diff 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
line wrap: on
line diff
--- a/src/share/vm/runtime/safepoint.cpp	Thu Aug 12 16:38:23 2010 -0700
+++ b/src/share/vm/runtime/safepoint.cpp	Thu Aug 12 23:34:34 2010 -0700
@@ -782,6 +782,9 @@
 
   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.