< prev index next >

src/hotspot/share/runtime/handshake.hpp

Print this page

        

*** 47,57 **** // The HandshakeState keep tracks of an ongoing handshake for one JavaThread. // VM thread and JavaThread are serialized with the semaphore making sure // the operation is only done by either VM thread on behalf of the JavaThread // or the JavaThread itself. ! class HandshakeState VALUE_OBJ_CLASS_SPEC { HandshakeOperation* volatile _operation; Semaphore _semaphore; bool _vmthread_holds_semaphore; bool _thread_in_process_handshake; --- 47,57 ---- // The HandshakeState keep tracks of an ongoing handshake for one JavaThread. // VM thread and JavaThread are serialized with the semaphore making sure // the operation is only done by either VM thread on behalf of the JavaThread // or the JavaThread itself. ! class HandshakeState { HandshakeOperation* volatile _operation; Semaphore _semaphore; bool _vmthread_holds_semaphore; bool _thread_in_process_handshake;
< prev index next >