31 class GCArguments; 32 33 class GCConfig : public AllStatic { 34 private: 35 static GCArguments* _arguments; 36 static bool _gc_selected_ergonomically; 37 38 static bool is_no_gc_selected(); 39 static bool is_exactly_one_gc_selected(); 40 41 static void select_gc_ergonomically(); 42 static GCArguments* select_gc(); 43 44 public: 45 static void initialize(); 46 47 static bool is_gc_supported(CollectedHeap::Name name); 48 static bool is_gc_selected(CollectedHeap::Name name); 49 static bool is_gc_selected_ergonomically(); 50 51 static GCArguments* arguments(); 52 }; 53 54 #endif // SHARE_GC_SHARED_GCCONFIG_HPP | 31 class GCArguments; 32 33 class GCConfig : public AllStatic { 34 private: 35 static GCArguments* _arguments; 36 static bool _gc_selected_ergonomically; 37 38 static bool is_no_gc_selected(); 39 static bool is_exactly_one_gc_selected(); 40 41 static void select_gc_ergonomically(); 42 static GCArguments* select_gc(); 43 44 public: 45 static void initialize(); 46 47 static bool is_gc_supported(CollectedHeap::Name name); 48 static bool is_gc_selected(CollectedHeap::Name name); 49 static bool is_gc_selected_ergonomically(); 50 51 static const char* hs_err_name(); 52 53 static GCArguments* arguments(); 54 }; 55 56 #endif // SHARE_GC_SHARED_GCCONFIG_HPP |