< prev index next >

src/hotspot/share/runtime/safepoint.hpp

Print this page

        

@@ -76,10 +76,11 @@
     SAFEPOINT_CLEANUP_SYMBOL_TABLE_REHASH,
     SAFEPOINT_CLEANUP_STRING_TABLE_REHASH,
     SAFEPOINT_CLEANUP_CLD_PURGE,
     SAFEPOINT_CLEANUP_SYSTEM_DICTIONARY_RESIZE,
     SAFEPOINT_CLEANUP_REQUEST_OOPSTORAGE_CLEANUP,
+    SAFEPOINT_CLEANUP_KEEPALIVES,
     // Leave this one last.
     SAFEPOINT_CLEANUP_NUM_TASKS
   };
 
  private:

@@ -141,14 +142,14 @@
 
   // Called from VMThread during handshakes.
   // If true the VMThread may safely process the handshake operation for the JavaThread.
   static bool handshake_safe(JavaThread *thread);
 
-  static uint64_t safepoint_counter()             { return _safepoint_counter; }
-
 public:
 
+  static uint64_t safepoint_counter()             { return _safepoint_counter; }
+
   static void init(Thread* vmthread);
 
   // Roll all threads forward to safepoint. Must be called by the VMThread.
   static void begin();
   static void end();                    // Start all suspended threads again...
< prev index next >