hotspot/src/share/vm/runtime/arguments.cpp
changeset 31390 7f35f0462aea
parent 31377 229b4eb67c2b
child 31594 1b71ba1c8c35
child 31521 f57b2ce43484
child 33962 a96fba52fc81
equal deleted inserted replaced
31388:40814c7eba5c 31390:7f35f0462aea
  1533 void Arguments::select_gc_ergonomically() {
  1533 void Arguments::select_gc_ergonomically() {
  1534   if (os::is_server_class_machine()) {
  1534   if (os::is_server_class_machine()) {
  1535     if (should_auto_select_low_pause_collector()) {
  1535     if (should_auto_select_low_pause_collector()) {
  1536       FLAG_SET_ERGO(bool, UseConcMarkSweepGC, true);
  1536       FLAG_SET_ERGO(bool, UseConcMarkSweepGC, true);
  1537     } else {
  1537     } else {
       
  1538 #if defined(JAVASE_EMBEDDED)
  1538       FLAG_SET_ERGO(bool, UseParallelGC, true);
  1539       FLAG_SET_ERGO(bool, UseParallelGC, true);
       
  1540 #else
       
  1541       FLAG_SET_ERGO(bool, UseG1GC, true);
       
  1542 #endif
  1539     }
  1543     }
  1540   } else {
  1544   } else {
  1541     FLAG_SET_ERGO(bool, UseSerialGC, true);
  1545     FLAG_SET_ERGO(bool, UseSerialGC, true);
  1542   }
  1546   }
  1543 }
  1547 }