src/share/vm/runtime/arguments.cpp

changeset 6497
2da20f966936
parent 6485
da862781b584
parent 6154
eae426d683f6
child 6503
a9becfeecd1b
equal deleted inserted replaced
6496:b4e19a1e459f 6497:2da20f966936
2279 status = status && verify_interval(InitialTenuringThreshold, 0, MaxTenuringThreshold, "MaxTenuringThreshold"); 2279 status = status && verify_interval(InitialTenuringThreshold, 0, MaxTenuringThreshold, "MaxTenuringThreshold");
2280 status = status && verify_percentage(TargetSurvivorRatio, "TargetSurvivorRatio"); 2280 status = status && verify_percentage(TargetSurvivorRatio, "TargetSurvivorRatio");
2281 status = status && verify_percentage(MarkSweepDeadRatio, "MarkSweepDeadRatio"); 2281 status = status && verify_percentage(MarkSweepDeadRatio, "MarkSweepDeadRatio");
2282 2282
2283 status = status && verify_min_value(MarkSweepAlwaysCompactCount, 1, "MarkSweepAlwaysCompactCount"); 2283 status = status && verify_min_value(MarkSweepAlwaysCompactCount, 1, "MarkSweepAlwaysCompactCount");
2284 #ifdef SPARC
2285 if (UseConcMarkSweepGC || UseG1GC) {
2286 // Issue a stern warning if the user has explicitly set
2287 // UseMemSetInBOT (it is known to cause issues), but allow
2288 // use for experimentation and debugging.
2289 if (VM_Version::is_sun4v() && UseMemSetInBOT) {
2290 assert(!FLAG_IS_DEFAULT(UseMemSetInBOT), "Error");
2291 warning("Experimental flag -XX:+UseMemSetInBOT is known to cause instability"
2292 " on sun4v; please understand that you are using at your own risk!");
2293 }
2294 }
2295 #endif // SPARC
2296 2284
2297 if (PrintNMTStatistics) { 2285 if (PrintNMTStatistics) {
2298 #if INCLUDE_NMT 2286 #if INCLUDE_NMT
2299 if (MemTracker::tracking_level() == MemTracker::NMT_off) { 2287 if (MemTracker::tracking_level() == MemTracker::NMT_off) {
2300 #endif // INCLUDE_NMT 2288 #endif // INCLUDE_NMT

mercurial