1513 // Keeping the heap 100% free is hard ;-) so limit it to 99%. |
1513 // Keeping the heap 100% free is hard ;-) so limit it to 99%. |
1514 MinHeapFreeRatio = MIN2(MinHeapFreeRatio, (uintx) 99); |
1514 MinHeapFreeRatio = MIN2(MinHeapFreeRatio, (uintx) 99); |
1515 |
1515 |
1516 if (FullGCALot && FLAG_IS_DEFAULT(MarkSweepAlwaysCompactCount)) { |
1516 if (FullGCALot && FLAG_IS_DEFAULT(MarkSweepAlwaysCompactCount)) { |
1517 MarkSweepAlwaysCompactCount = 1; // Move objects every gc. |
1517 MarkSweepAlwaysCompactCount = 1; // Move objects every gc. |
|
1518 } |
|
1519 |
|
1520 if (UseParallelOldGC && ParallelOldGCSplitALot) { |
|
1521 // Settings to encourage splitting. |
|
1522 if (!FLAG_IS_CMDLINE(NewRatio)) { |
|
1523 FLAG_SET_CMDLINE(intx, NewRatio, 2); |
|
1524 } |
|
1525 if (!FLAG_IS_CMDLINE(ScavengeBeforeFullGC)) { |
|
1526 FLAG_SET_CMDLINE(bool, ScavengeBeforeFullGC, false); |
|
1527 } |
1518 } |
1528 } |
1519 |
1529 |
1520 status = status && verify_percentage(GCHeapFreeLimit, "GCHeapFreeLimit"); |
1530 status = status && verify_percentage(GCHeapFreeLimit, "GCHeapFreeLimit"); |
1521 status = status && verify_percentage(GCTimeLimit, "GCTimeLimit"); |
1531 status = status && verify_percentage(GCTimeLimit, "GCTimeLimit"); |
1522 if (GCTimeLimit == 100) { |
1532 if (GCTimeLimit == 100) { |