diff src/share/vm/runtime/arguments.cpp @ 1283:1c72304f1885

6928073: G1: use existing command line parameters for marking cycle initiation Summary: replace the combination of the G1SteadyStateUsed / G1SteadyStateUsedDelta parameteres to decide the marking initiation threshold and instead use InitiatingHeapOccupancyPercent. Reviewed-by: ysr, johnc
author tonyp
date Tue, 23 Feb 2010 23:14:34 -0500
parents 7b4415a18c8a
children 5f1f51edaff6
line wrap: on
line diff
--- a/src/share/vm/runtime/arguments.cpp	Tue Feb 23 23:13:23 2010 -0500
+++ b/src/share/vm/runtime/arguments.cpp	Tue Feb 23 23:14:34 2010 -0500
@@ -1737,6 +1737,11 @@
     status = false;
   }
 
+  if (UseG1GC) {
+    status = status && verify_percentage(InitiatingHeapOccupancyPercent,
+                                         "InitiatingHeapOccupancyPercent");
+  }
+
   status = status && verify_interval(RefDiscoveryPolicy,
                                      ReferenceProcessor::DiscoveryPolicyMin,
                                      ReferenceProcessor::DiscoveryPolicyMax,