src/hotspot/share/runtime/arguments.cpp
changeset 49339 e651c3ea6ea8
parent 49185 5d1b75086f98
child 49359 59f6547e151f
--- a/src/hotspot/share/runtime/arguments.cpp	Mon Mar 05 13:07:04 2018 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Mon Mar 05 13:15:10 2018 +0100
@@ -1856,11 +1856,6 @@
   return JNI_OK;
 }
 
-void Arguments::set_gc_specific_flags() {
-  // Set GC flags
-  GCArguments::arguments()->initialize_flags();
-}
-
 julong Arguments::limit_by_allocatable_memory(julong limit) {
   julong max_allocatable;
   julong result = limit;
@@ -4286,7 +4281,7 @@
   // Set heap size based on available physical memory
   set_heap_size();
 
-  ArgumentsExt::set_gc_specific_flags();
+  GCArguments::arguments()->initialize_flags();
 
   // Initialize Metaspace flags and alignments
   Metaspace::ergo_initialize();