equal
deleted
inserted
replaced
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); |