diff src/share/vm/runtime/safepoint.hpp @ 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.hpp	Thu Aug 12 16:38:23 2010 -0700
+++ b/src/share/vm/runtime/safepoint.hpp	Thu Aug 12 23:34:34 2010 -0700
@@ -185,6 +185,7 @@
 
   JavaThread *                   _thread;
   volatile suspend_type          _type;
+  JavaThreadState                _orig_thread_state;
 
 
  public:
@@ -199,6 +200,7 @@
   JavaThread*  thread() const         { return _thread; }
   suspend_type type() const           { return _type; }
   bool         is_running() const     { return (_type==_running); }
+  JavaThreadState orig_thread_state() const { return _orig_thread_state; }
 
   // Support for safepoint timeout (debugging)
   bool has_called_back() const                   { return _has_called_back; }