8330607: Deprecate -XX:+UseEmptySlotsInSupers

Reviewed-by: shade, dcubed
This commit is contained in:
Coleen Phillimore 2024-04-22 11:40:22 +00:00
parent ee7b2e9b3b
commit 936a47d7d6
3 changed files with 4 additions and 1 deletions

View File

@ -502,6 +502,7 @@ static SpecialFlag const special_jvm_flags[] = {
{ "UseSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() }, { "UseSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() },
{ "RegisterFinalizersAtInit", JDK_Version::jdk(22), JDK_Version::jdk(23), JDK_Version::jdk(24) }, { "RegisterFinalizersAtInit", JDK_Version::jdk(22), JDK_Version::jdk(23), JDK_Version::jdk(24) },
{ "PreserveAllAnnotations", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) }, { "PreserveAllAnnotations", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
{ "UseEmptySlotsInSupers", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
#if defined(X86) #if defined(X86)
{ "UseRTMLocking", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) }, { "UseRTMLocking", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
{ "UseRTMDeopt", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) }, { "UseRTMDeopt", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },

View File

@ -1958,7 +1958,8 @@ const int ObjectAlignmentInBytes = 8;
"Use platform unstable time where supported for timestamps only") \ "Use platform unstable time where supported for timestamps only") \
\ \
product(bool, UseEmptySlotsInSupers, true, \ product(bool, UseEmptySlotsInSupers, true, \
"Allow allocating fields in empty slots of super-classes") \ "(Deprecated) Allow allocating fields in empty slots of " \
"super-classes") \
\ \
product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC, \ product(bool, DeoptimizeNMethodBarriersALot, false, DIAGNOSTIC, \
"Make nmethod barriers deoptimise a lot.") \ "Make nmethod barriers deoptimise a lot.") \

View File

@ -58,6 +58,7 @@ public class VMDeprecatedOptions {
// deprecated non-alias flags: // deprecated non-alias flags:
{"PreserveAllAnnotations", "true"}, {"PreserveAllAnnotations", "true"},
{"AllowRedefinitionToAddDeleteMethods", "true"}, {"AllowRedefinitionToAddDeleteMethods", "true"},
{"UseEmptySlotsInSupers", "true"},
// deprecated alias flags (see also aliased_jvm_flags): // deprecated alias flags (see also aliased_jvm_flags):
{"CreateMinidumpOnCrash", "false"} {"CreateMinidumpOnCrash", "false"}