src/share/vm/runtime/safepoint.hpp

changeset 9896
1b8c45b8216a
parent 9833
b00c93a7805c
parent 9858
b985cbb00e68
child 9931
fd44df5e3bc3
     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);

mercurial