--- old/src/hotspot/share/runtime/thread.hpp 2018-04-20 00:47:25.000000000 +0100 +++ new/src/hotspot/share/runtime/thread.hpp 2018-04-20 00:47:25.000000000 +0100 @@ -963,6 +963,10 @@ volatile JNIAttachStates _jni_attach_state; public: + + // Continuation support + oop _continuation; + // State of the stack guard pages for this thread. enum StackGuardState { stack_guard_unused, // not needed @@ -1648,6 +1652,7 @@ 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); } + 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); }