src/share/vm/runtime/safepoint.hpp

changeset 9858
b985cbb00e68
parent 6680
78bbf4d43a14
child 9896
1b8c45b8216a
     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);

mercurial