mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-16 09:04:41 +02:00
8180450: secondary_super_cache does not scale well
Co-authored-by: Vladimir Ivanov <vlivanov@openjdk.org> Reviewed-by: kvn, vlivanov, dlong
This commit is contained in:
parent
bfff02eef6
commit
f11a496de6
40 changed files with 2209 additions and 48 deletions
|
@ -3685,6 +3685,17 @@ jint Arguments::apply_ergo() {
|
|||
return code;
|
||||
}
|
||||
|
||||
if (FLAG_IS_DEFAULT(UseSecondarySupersTable)) {
|
||||
FLAG_SET_DEFAULT(UseSecondarySupersTable, VM_Version::supports_secondary_supers_table());
|
||||
} else if (UseSecondarySupersTable && !VM_Version::supports_secondary_supers_table()) {
|
||||
warning("UseSecondarySupersTable is not supported");
|
||||
FLAG_SET_DEFAULT(UseSecondarySupersTable, false);
|
||||
}
|
||||
if (!UseSecondarySupersTable) {
|
||||
FLAG_SET_DEFAULT(StressSecondarySupers, false);
|
||||
FLAG_SET_DEFAULT(VerifySecondarySupers, false);
|
||||
}
|
||||
|
||||
#ifdef ZERO
|
||||
// Clear flags not supported on zero.
|
||||
FLAG_SET_DEFAULT(ProfileInterpreter, false);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue