Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 483:0f773163217d
6765954: par compact - stress mode for splitting young gen spaces
Reviewed-by: jmasa
author | jcoomes |
---|---|
date | Thu, 11 Dec 2008 12:05:21 -0800 |
parents | 171e581e8161 |
children | 2494ab195856 |
comparison
equal
deleted
inserted
replaced
482:7c2386d67889 | 483:0f773163217d |
---|---|
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) { |