src/hotspot/share/runtime/arguments.cpp
branchepsilon-gc-branch
changeset 56348 f3b0961adb3c
parent 56276 ee5e58456be5
parent 49359 59f6547e151f
child 56406 e629240491c7
--- a/src/hotspot/share/runtime/arguments.cpp	Mon Mar 12 16:53:47 2018 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Mon Mar 26 09:56:36 2018 +0200
@@ -38,7 +38,7 @@
 #include "logging/logStream.hpp"
 #include "logging/logTag.hpp"
 #include "memory/allocation.inline.hpp"
-#include "memory/universe.inline.hpp"
+#include "memory/universe.hpp"
 #include "oops/oop.inline.hpp"
 #include "prims/jvmtiExport.hpp"
 #include "runtime/arguments.hpp"
@@ -1857,11 +1857,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;
@@ -4288,7 +4283,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();