Mercurial > hg > truffle
comparison src/share/vm/runtime/arguments.cpp @ 13423:eae426d683f6
8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs
Summary: fix code to allow testing on Fujitsu Sparc64 CPUs
Reviewed-by: kvn
author | simonis |
---|---|
date | Mon, 02 Dec 2013 11:12:32 +0100 |
parents | 6f206b5d258f |
children | 02f27ecb4f3a 8cdf3f43f63e 234d576115b5 2da20f966936 f3c3ce3fb624 |
comparison
equal
deleted
inserted
replaced
13422:55dd6e77b399 | 13423:eae426d683f6 |
---|---|
2276 status = status && verify_interval(InitialTenuringThreshold, 0, MaxTenuringThreshold, "MaxTenuringThreshold"); | 2276 status = status && verify_interval(InitialTenuringThreshold, 0, MaxTenuringThreshold, "MaxTenuringThreshold"); |
2277 status = status && verify_percentage(TargetSurvivorRatio, "TargetSurvivorRatio"); | 2277 status = status && verify_percentage(TargetSurvivorRatio, "TargetSurvivorRatio"); |
2278 status = status && verify_percentage(MarkSweepDeadRatio, "MarkSweepDeadRatio"); | 2278 status = status && verify_percentage(MarkSweepDeadRatio, "MarkSweepDeadRatio"); |
2279 | 2279 |
2280 status = status && verify_min_value(MarkSweepAlwaysCompactCount, 1, "MarkSweepAlwaysCompactCount"); | 2280 status = status && verify_min_value(MarkSweepAlwaysCompactCount, 1, "MarkSweepAlwaysCompactCount"); |
2281 #ifdef SPARC | |
2282 if (UseConcMarkSweepGC || UseG1GC) { | |
2283 // Issue a stern warning if the user has explicitly set | |
2284 // UseMemSetInBOT (it is known to cause issues), but allow | |
2285 // use for experimentation and debugging. | |
2286 if (VM_Version::is_sun4v() && UseMemSetInBOT) { | |
2287 assert(!FLAG_IS_DEFAULT(UseMemSetInBOT), "Error"); | |
2288 warning("Experimental flag -XX:+UseMemSetInBOT is known to cause instability" | |
2289 " on sun4v; please understand that you are using at your own risk!"); | |
2290 } | |
2291 } | |
2292 #endif // SPARC | |
2293 | 2281 |
2294 if (PrintNMTStatistics) { | 2282 if (PrintNMTStatistics) { |
2295 #if INCLUDE_NMT | 2283 #if INCLUDE_NMT |
2296 if (MemTracker::tracking_level() == MemTracker::NMT_off) { | 2284 if (MemTracker::tracking_level() == MemTracker::NMT_off) { |
2297 #endif // INCLUDE_NMT | 2285 #endif // INCLUDE_NMT |