hotspot/src/share/vm/runtime/safepoint.hpp
changeset 37176 663bdc7d0b86
parent 24424 2658d7834c6e
child 46702 13ae789b982e
equal deleted inserted replaced
37175:ac6850d71f72 37176:663bdc7d0b86
   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