src/hotspot/share/runtime/safepointMechanism.hpp
changeset 53775 5d20b085d893
parent 53646 043ae846819f
child 54323 846bc643f4ef
equal deleted inserted replaced
53774:622c26f0673f 53775:5d20b085d893
    76   static inline bool should_block(Thread* thread);
    76   static inline bool should_block(Thread* thread);
    77 
    77 
    78   // Blocks a thread until safepoint/handshake is completed.
    78   // Blocks a thread until safepoint/handshake is completed.
    79   static inline void block_if_requested(JavaThread* thread);
    79   static inline void block_if_requested(JavaThread* thread);
    80 
    80 
    81   // Calls back if there is a pending safepoint but does not block for it.
       
    82   static inline void callback_if_safepoint(JavaThread* thread);
       
    83 
       
    84   // Caller is responsible for using a memory barrier if needed.
    81   // Caller is responsible for using a memory barrier if needed.
    85   static inline void arm_local_poll(JavaThread* thread);
    82   static inline void arm_local_poll(JavaThread* thread);
    86   static inline void disarm_local_poll(JavaThread* thread);
    83   static inline void disarm_local_poll(JavaThread* thread);
    87 
    84 
    88   static inline void arm_local_poll_release(JavaThread* thread);
    85   static inline void arm_local_poll_release(JavaThread* thread);