hotspot/src/share/vm/runtime/safepoint.hpp
changeset 37176 663bdc7d0b86
parent 24424 2658d7834c6e
child 46702 13ae789b982e
--- a/hotspot/src/share/vm/runtime/safepoint.hpp	Wed Mar 23 10:31:46 2016 +0100
+++ b/hotspot/src/share/vm/runtime/safepoint.hpp	Wed Mar 23 10:52:35 2016 +0100
@@ -145,6 +145,7 @@
   // Query
   inline static bool is_at_safepoint()   { return _state == _synchronized;  }
   inline static bool is_synchronizing()  { return _state == _synchronizing;  }
+  inline static int safepoint_counter()  { return _safepoint_counter; }
 
   inline static bool do_call_back() {
     return (_state != _not_synchronized);