src/hotspot/share/gc/shared/gcArguments.hpp
changeset 49629 b786280276dc
parent 49602 db050c11c3b5
child 53116 bb03098c4dde
--- a/src/hotspot/share/gc/shared/gcArguments.hpp	Wed Mar 28 11:38:47 2018 +0200
+++ b/src/hotspot/share/gc/shared/gcArguments.hpp	Wed Mar 28 11:38:47 2018 +0200
@@ -30,27 +30,14 @@
 
 class CollectedHeap;
 
-class GCArguments : public CHeapObj<mtGC> {
-private:
-  static GCArguments* _instance;
-
-  static void select_gc();
-  static void select_gc_ergonomically();
-  static bool gc_selected();
-
+class GCArguments {
 protected:
   template <class Heap, class Policy>
   CollectedHeap* create_heap_with_policy();
 
 public:
-  static jint initialize();
-  static bool is_initialized();
-  static GCArguments* arguments();
-
-  virtual void initialize_flags();
-
+  virtual void initialize();
   virtual size_t conservative_max_heap_alignment() = 0;
-
   virtual CollectedHeap* create_heap() = 0;
 };