mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-17 17:44:40 +02:00
8029190: VM_Version::determine_features() asserts on Fujitsu Sparc64 CPUs
Fix code to allow testing on Fujitsu Sparc64 CPUs Reviewed-by: kvn
This commit is contained in:
parent
c5b9d5ccd3
commit
f0010291f7
3 changed files with 28 additions and 19 deletions
|
@ -2278,18 +2278,6 @@ bool Arguments::check_vm_args_consistency() {
|
|||
status = status && verify_percentage(MarkSweepDeadRatio, "MarkSweepDeadRatio");
|
||||
|
||||
status = status && verify_min_value(MarkSweepAlwaysCompactCount, 1, "MarkSweepAlwaysCompactCount");
|
||||
#ifdef SPARC
|
||||
if (UseConcMarkSweepGC || UseG1GC) {
|
||||
// Issue a stern warning if the user has explicitly set
|
||||
// UseMemSetInBOT (it is known to cause issues), but allow
|
||||
// use for experimentation and debugging.
|
||||
if (VM_Version::is_sun4v() && UseMemSetInBOT) {
|
||||
assert(!FLAG_IS_DEFAULT(UseMemSetInBOT), "Error");
|
||||
warning("Experimental flag -XX:+UseMemSetInBOT is known to cause instability"
|
||||
" on sun4v; please understand that you are using at your own risk!");
|
||||
}
|
||||
}
|
||||
#endif // SPARC
|
||||
|
||||
if (PrintNMTStatistics) {
|
||||
#if INCLUDE_NMT
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue