1.1 --- a/src/share/vm/runtime/safepoint.hpp Thu Aug 01 03:44:03 2019 +0100 1.2 +++ b/src/share/vm/runtime/safepoint.hpp Mon Aug 12 18:30:40 2019 +0300 1.3 @@ -145,6 +145,7 @@ 1.4 // Query 1.5 inline static bool is_at_safepoint() { return _state == _synchronized; } 1.6 inline static bool is_synchronizing() { return _state == _synchronizing; } 1.7 + inline static int safepoint_counter() { return _safepoint_counter; } 1.8 1.9 inline static bool do_call_back() { 1.10 return (_state != _not_synchronized);