1.1 --- a/src/share/vm/runtime/safepoint.hpp Thu Feb 27 19:01:32 2020 +0000 1.2 +++ b/src/share/vm/runtime/safepoint.hpp Tue Mar 03 12:57:23 2020 +0000 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);