< prev index next >

src/hotspot/share/runtime/thread.hpp

Print this page
rev 50307 : [mq]: cont

@@ -978,10 +978,13 @@
   // A native thread that is attaching via JNI starts with a value
   // of _attaching_via_jni and transitions to _attached_via_jni.
   volatile JNIAttachStates _jni_attach_state;
 
  public:
+
+  DEBUG_ONLY(oopDesc* _continuation;)
+
   // State of the stack guard pages for this thread.
   enum StackGuardState {
     stack_guard_unused,         // not needed
     stack_guard_reserved_disabled,
     stack_guard_yellow_reserved_disabled,// disabled (temporarily) after stack overflow

@@ -1651,10 +1654,11 @@
   static ByteSize vm_result_offset()             { return byte_offset_of(JavaThread, _vm_result); }
   static ByteSize vm_result_2_offset()           { return byte_offset_of(JavaThread, _vm_result_2); }
   static ByteSize thread_state_offset()          { return byte_offset_of(JavaThread, _thread_state); }
   static ByteSize saved_exception_pc_offset()    { return byte_offset_of(JavaThread, _saved_exception_pc); }
   static ByteSize osthread_offset()              { return byte_offset_of(JavaThread, _osthread); }
+  DEBUG_ONLY(static ByteSize continuation_offset()          { return byte_offset_of(JavaThread, _continuation); })
 #if INCLUDE_JVMCI
   static ByteSize pending_deoptimization_offset() { return byte_offset_of(JavaThread, _pending_deoptimization); }
   static ByteSize pending_monitorenter_offset()  { return byte_offset_of(JavaThread, _pending_monitorenter); }
   static ByteSize pending_failed_speculation_offset() { return byte_offset_of(JavaThread, _pending_failed_speculation); }
   static ByteSize jvmci_alternate_call_target_offset() { return byte_offset_of(JavaThread, _jvmci._alternate_call_target); }
< prev index next >