equal
deleted
inserted
replaced
143 static void check_for_lazy_critical_native(JavaThread *thread, JavaThreadState state); |
143 static void check_for_lazy_critical_native(JavaThread *thread, JavaThreadState state); |
144 |
144 |
145 // Query |
145 // Query |
146 inline static bool is_at_safepoint() { return _state == _synchronized; } |
146 inline static bool is_at_safepoint() { return _state == _synchronized; } |
147 inline static bool is_synchronizing() { return _state == _synchronizing; } |
147 inline static bool is_synchronizing() { return _state == _synchronizing; } |
|
148 inline static int safepoint_counter() { return _safepoint_counter; } |
148 |
149 |
149 inline static bool do_call_back() { |
150 inline static bool do_call_back() { |
150 return (_state != _not_synchronized); |
151 return (_state != _not_synchronized); |
151 } |
152 } |
152 |
153 |