< prev index next >

src/hotspot/share/runtime/arguments.cpp

Print this page

        

*** 3898,3914 **** jint Arguments::apply_ergo() { // Set flags based on ergonomics. jint result = set_ergonomics_flags(); if (result != JNI_OK) return result; - set_shared_spaces_flags(); - // Set heap size based on available physical memory set_heap_size(); GCConfig::arguments()->initialize(); // Initialize Metaspace flags and alignments Metaspace::ergo_initialize(); // Set compiler flags after GC is selected and GC specific // flags (LoopStripMiningIter) are set. --- 3898,3914 ---- jint Arguments::apply_ergo() { // Set flags based on ergonomics. jint result = set_ergonomics_flags(); if (result != JNI_OK) return result; // Set heap size based on available physical memory set_heap_size(); GCConfig::arguments()->initialize(); + set_shared_spaces_flags(); + // Initialize Metaspace flags and alignments Metaspace::ergo_initialize(); // Set compiler flags after GC is selected and GC specific // flags (LoopStripMiningIter) are set.
< prev index next >