equal
deleted
inserted
replaced
141 inline static bool do_call_back() { |
141 inline static bool do_call_back() { |
142 return (_state != _not_synchronized); |
142 return (_state != _not_synchronized); |
143 } |
143 } |
144 |
144 |
145 // Called when a thread voluntarily blocks |
145 // Called when a thread voluntarily blocks |
146 static void block(JavaThread *thread); |
146 static void block(JavaThread *thread, bool block_in_safepoint_check = true); |
147 |
147 |
148 friend class SafepointMechanism; |
148 friend class SafepointMechanism; |
149 |
149 |
150 public: |
150 public: |
151 static void signal_thread_at_safepoint() { _waiting_to_block--; } |
151 static void signal_thread_at_safepoint() { _waiting_to_block--; } |