8329636: Deprecate -XX:+PreserveAllAnnotations
Reviewed-by: coleenp, dholmes
This commit is contained in:
parent
d1c6cd104e
commit
fb4cf1cc3c
@ -501,6 +501,7 @@ static SpecialFlag const special_jvm_flags[] = {
|
|||||||
{ "RequireSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() },
|
{ "RequireSharedSpaces", JDK_Version::jdk(18), JDK_Version::jdk(19), JDK_Version::undefined() },
|
||||||
{ "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) },
|
||||||
#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) },
|
||||||
|
@ -799,7 +799,7 @@ const int ObjectAlignmentInBytes = 8;
|
|||||||
"at this time") \
|
"at this time") \
|
||||||
\
|
\
|
||||||
product(bool, PreserveAllAnnotations, false, \
|
product(bool, PreserveAllAnnotations, false, \
|
||||||
"Preserve RuntimeInvisibleAnnotations as well " \
|
"(Deprecated) Preserve RuntimeInvisibleAnnotations as well " \
|
||||||
"as RuntimeVisibleAnnotations") \
|
"as RuntimeVisibleAnnotations") \
|
||||||
\
|
\
|
||||||
develop(uintx, PreallocatedOutOfMemoryErrorCount, 4, \
|
develop(uintx, PreallocatedOutOfMemoryErrorCount, 4, \
|
||||||
|
@ -56,6 +56,7 @@ public class VMDeprecatedOptions {
|
|||||||
ArrayList<String[]> deprecated = new ArrayList(
|
ArrayList<String[]> deprecated = new ArrayList(
|
||||||
Arrays.asList(new String[][] {
|
Arrays.asList(new String[][] {
|
||||||
// deprecated non-alias flags:
|
// deprecated non-alias flags:
|
||||||
|
{"PreserveAllAnnotations", "true"},
|
||||||
{"AllowRedefinitionToAddDeleteMethods", "true"},
|
{"AllowRedefinitionToAddDeleteMethods", "true"},
|
||||||
|
|
||||||
// deprecated alias flags (see also aliased_jvm_flags):
|
// deprecated alias flags (see also aliased_jvm_flags):
|
||||||
|
Loading…
Reference in New Issue
Block a user