equal
deleted
inserted
replaced
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 } |