src/hotspot/share/runtime/safepointMechanism.hpp
changeset 50921 7f462e8383f6
parent 47881 0ce0ac68ace7
child 52450 2790da836dc3
equal deleted inserted replaced
50920:d9160a3c97c1 50921:7f462e8383f6
    77   static inline bool poll(Thread* thread);
    77   static inline bool poll(Thread* thread);
    78 
    78 
    79   // Blocks a thread until safepoint is completed
    79   // Blocks a thread until safepoint is completed
    80   static inline void block_if_requested(JavaThread* thread);
    80   static inline void block_if_requested(JavaThread* thread);
    81 
    81 
       
    82   // Caller is responsible for using a memory barrier if needed.
    82   static inline void arm_local_poll(JavaThread* thread);
    83   static inline void arm_local_poll(JavaThread* thread);
    83   static inline void disarm_local_poll(JavaThread* thread);
    84   static inline void disarm_local_poll(JavaThread* thread);
       
    85 
       
    86   static inline void arm_local_poll_release(JavaThread* thread);
       
    87   static inline void disarm_local_poll_release(JavaThread* thread);
    84 
    88 
    85   // Setup the selected safepoint mechanism
    89   // Setup the selected safepoint mechanism
    86   static void initialize();
    90   static void initialize();
    87   static void initialize_header(JavaThread* thread);
    91   static void initialize_header(JavaThread* thread);
    88 };
    92 };