< prev index next >

src/hotspot/share/gc/shared/gc.hpp

Print this page

        

@@ -20,30 +20,19 @@
  * or visit www.oracle.com if you need additional information or have any
  * questions.
  *
  */
 
-#ifndef SHARE_VM_GC_SHARED_GC_HPP
-#define SHARE_VM_GC_SHARED_GC_HPP
+#ifndef SHARE_GC_SHARED_GC_HPP
+#define SHARE_GC_SHARED_GC_HPP
 
 #include "memory/allocation.hpp"
 
 class GC : public CHeapObj<mtGC> {
-private:
-  static GC* _gc;
-
-  static void select_gc();
-  static void select_gc_ergonomically();
-  static bool gc_selected();
-
 public:
-  static jint initialize();
-  static bool is_initialized();
-  static GC* gc();
-
-  static void initialize_flags_global();
-
-  virtual void initialize_flags();
+  virtual void initialize_flags() {
+    // Default does nothing.
+  }
   virtual size_t conservative_max_heap_alignment() = 0;
 };
 
-#endif // SHARE_VM_GC_SHARED_GC_HPP
+#endif // SHARE_GC_SHARED_GC_HPP
< prev index next >