hotspot/src/share/vm/runtime/arguments.cpp
changeset 22863 6a578e0f65ea
parent 22851 4c4b6a45be43
parent 21922 3c90a49d87a3
child 22872 b6902ee5bc8d
equal deleted inserted replaced
22862:495f1688b8b1 22863:6a578e0f65ea
  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