< prev index next >

src/share/vm/runtime/arguments.cpp

Print this page

        

*** 1533,1543 **** --- 1533,1547 ---- void Arguments::select_gc_ergonomically() { if (os::is_server_class_machine()) { if (should_auto_select_low_pause_collector()) { FLAG_SET_ERGO(bool, UseConcMarkSweepGC, true); } else { + #if defined(JAVASE_EMBEDDED) FLAG_SET_ERGO(bool, UseParallelGC, true); + #else + FLAG_SET_ERGO(bool, UseG1GC, true); + #endif } } else { FLAG_SET_ERGO(bool, UseSerialGC, true); } }
< prev index next >