6928073: G1: use existing command line parameters for marking cycle initiation

Replace the combination of the G1SteadyStateUsed / G1SteadyStateUsedDelta parameteres to decide the marking initiation threshold and instead use InitiatingHeapOccupancyPercent.

Reviewed-by: ysr, johnc
This commit is contained in:
Antonios Printezis 2010-02-23 23:14:34 -05:00
parent b5c83abcd4
commit 77b2dfce1d
4 changed files with 13 additions and 19 deletions

View file

@ -1737,6 +1737,11 @@ bool Arguments::check_vm_args_consistency() {
status = false;
}
if (UseG1GC) {
status = status && verify_percentage(InitiatingHeapOccupancyPercent,
"InitiatingHeapOccupancyPercent");
}
status = status && verify_interval(RefDiscoveryPolicy,
ReferenceProcessor::DiscoveryPolicyMin,
ReferenceProcessor::DiscoveryPolicyMax,