< prev index next >

src/hotspot/share/runtime/safepoint.hpp

Print this page
*** 75,10 ***
--- 75,11 ---
      SAFEPOINT_CLEANUP_COMPILATION_POLICY,
      SAFEPOINT_CLEANUP_SYMBOL_TABLE_REHASH,
      SAFEPOINT_CLEANUP_STRING_TABLE_REHASH,
      SAFEPOINT_CLEANUP_SYSTEM_DICTIONARY_RESIZE,
      SAFEPOINT_CLEANUP_REQUEST_OOPSTORAGE_CLEANUP,
+     SAFEPOINT_CLEANUP_KEEPALIVES,
      // Leave this one last.
      SAFEPOINT_CLEANUP_NUM_TASKS
    };
  
   private:

*** 143,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 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...
--- 144,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);
  
  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 >