src/share/vm/runtime/arguments.cpp

Print this page
rev 6083 : 8029075: String deduplication in G1
Implementation of JEP 192, http://openjdk.java.net/jeps/192


2228   }
2229 
2230   status = status && verify_min_value(ParGCArrayScanChunk, 1, "ParGCArrayScanChunk");
2231 
2232 #if INCLUDE_ALL_GCS
2233   if (UseG1GC) {
2234     status = status && verify_percentage(G1NewSizePercent, "G1NewSizePercent");
2235     status = status && verify_percentage(G1MaxNewSizePercent, "G1MaxNewSizePercent");
2236     status = status && verify_interval(G1NewSizePercent, 0, G1MaxNewSizePercent, "G1NewSizePercent");
2237 
2238     status = status && verify_percentage(InitiatingHeapOccupancyPercent,
2239                                          "InitiatingHeapOccupancyPercent");
2240     status = status && verify_min_value(G1RefProcDrainInterval, 1,
2241                                         "G1RefProcDrainInterval");
2242     status = status && verify_min_value((intx)G1ConcMarkStepDurationMillis, 1,
2243                                         "G1ConcMarkStepDurationMillis");
2244     status = status && verify_interval(G1ConcRSHotCardLimit, 0, max_jubyte,
2245                                        "G1ConcRSHotCardLimit");
2246     status = status && verify_interval(G1ConcRSLogCacheSize, 0, 31,
2247                                        "G1ConcRSLogCacheSize");




2248   }
2249   if (UseConcMarkSweepGC) {
2250     status = status && verify_min_value(CMSOldPLABNumRefills, 1, "CMSOldPLABNumRefills");
2251     status = status && verify_min_value(CMSOldPLABToleranceFactor, 1, "CMSOldPLABToleranceFactor");
2252     status = status && verify_min_value(CMSOldPLABMax, 1, "CMSOldPLABMax");
2253     status = status && verify_interval(CMSOldPLABMin, 1, CMSOldPLABMax, "CMSOldPLABMin");
2254 
2255     status = status && verify_min_value(CMSYoungGenPerWorker, 1, "CMSYoungGenPerWorker");
2256 
2257     status = status && verify_min_value(CMSSamplingGrain, 1, "CMSSamplingGrain");
2258     status = status && verify_interval(CMS_SweepWeight, 0, 100, "CMS_SweepWeight");
2259     status = status && verify_interval(CMS_FLSWeight, 0, 100, "CMS_FLSWeight");
2260 
2261     status = status && verify_interval(FLSCoalescePolicy, 0, 4, "FLSCoalescePolicy");
2262 
2263     status = status && verify_min_value(CMSRescanMultiple, 1, "CMSRescanMultiple");
2264     status = status && verify_min_value(CMSConcMarkMultiple, 1, "CMSConcMarkMultiple");
2265 
2266     status = status && verify_interval(CMSPrecleanIter, 0, 9, "CMSPrecleanIter");
2267     status = status && verify_min_value(CMSPrecleanDenominator, 1, "CMSPrecleanDenominator");




2228   }
2229 
2230   status = status && verify_min_value(ParGCArrayScanChunk, 1, "ParGCArrayScanChunk");
2231 
2232 #if INCLUDE_ALL_GCS
2233   if (UseG1GC) {
2234     status = status && verify_percentage(G1NewSizePercent, "G1NewSizePercent");
2235     status = status && verify_percentage(G1MaxNewSizePercent, "G1MaxNewSizePercent");
2236     status = status && verify_interval(G1NewSizePercent, 0, G1MaxNewSizePercent, "G1NewSizePercent");
2237 
2238     status = status && verify_percentage(InitiatingHeapOccupancyPercent,
2239                                          "InitiatingHeapOccupancyPercent");
2240     status = status && verify_min_value(G1RefProcDrainInterval, 1,
2241                                         "G1RefProcDrainInterval");
2242     status = status && verify_min_value((intx)G1ConcMarkStepDurationMillis, 1,
2243                                         "G1ConcMarkStepDurationMillis");
2244     status = status && verify_interval(G1ConcRSHotCardLimit, 0, max_jubyte,
2245                                        "G1ConcRSHotCardLimit");
2246     status = status && verify_interval(G1ConcRSLogCacheSize, 0, 31,
2247                                        "G1ConcRSLogCacheSize");
2248     if (UseStringDeduplication) {
2249       status = status && verify_interval(StringDeduplicationAgeThreshold, 1, markOopDesc::max_age,
2250                                          "StringDeduplicationAgeThreshold");
2251     }
2252   }
2253   if (UseConcMarkSweepGC) {
2254     status = status && verify_min_value(CMSOldPLABNumRefills, 1, "CMSOldPLABNumRefills");
2255     status = status && verify_min_value(CMSOldPLABToleranceFactor, 1, "CMSOldPLABToleranceFactor");
2256     status = status && verify_min_value(CMSOldPLABMax, 1, "CMSOldPLABMax");
2257     status = status && verify_interval(CMSOldPLABMin, 1, CMSOldPLABMax, "CMSOldPLABMin");
2258 
2259     status = status && verify_min_value(CMSYoungGenPerWorker, 1, "CMSYoungGenPerWorker");
2260 
2261     status = status && verify_min_value(CMSSamplingGrain, 1, "CMSSamplingGrain");
2262     status = status && verify_interval(CMS_SweepWeight, 0, 100, "CMS_SweepWeight");
2263     status = status && verify_interval(CMS_FLSWeight, 0, 100, "CMS_FLSWeight");
2264 
2265     status = status && verify_interval(FLSCoalescePolicy, 0, 4, "FLSCoalescePolicy");
2266 
2267     status = status && verify_min_value(CMSRescanMultiple, 1, "CMSRescanMultiple");
2268     status = status && verify_min_value(CMSConcMarkMultiple, 1, "CMSConcMarkMultiple");
2269 
2270     status = status && verify_interval(CMSPrecleanIter, 0, 9, "CMSPrecleanIter");
2271     status = status && verify_min_value(CMSPrecleanDenominator, 1, "CMSPrecleanDenominator");