8334299: Deprecate LockingMode option, along with LM_LEGACY and LM_MONITOR
Reviewed-by: stuefe, dholmes
This commit is contained in:
parent
2e64d15144
commit
5ac2149b7b
@ -505,6 +505,7 @@ static SpecialFlag const special_jvm_flags[] = {
|
|||||||
{ "DontYieldALot", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
|
{ "DontYieldALot", 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) },
|
{ "PreserveAllAnnotations", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
|
||||||
{ "UseNotificationThread", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
|
{ "UseNotificationThread", JDK_Version::jdk(23), JDK_Version::jdk(24), JDK_Version::jdk(25) },
|
||||||
|
{ "LockingMode", JDK_Version::jdk(24), JDK_Version::jdk(26), JDK_Version::jdk(27) },
|
||||||
// --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
|
// --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
|
||||||
{ "CreateMinidumpOnCrash", JDK_Version::jdk(9), JDK_Version::undefined(), JDK_Version::undefined() },
|
{ "CreateMinidumpOnCrash", JDK_Version::jdk(9), JDK_Version::undefined(), JDK_Version::undefined() },
|
||||||
|
|
||||||
|
@ -1957,9 +1957,9 @@ const int ObjectAlignmentInBytes = 8;
|
|||||||
"fence. Add cleanliness checks.") \
|
"fence. Add cleanliness checks.") \
|
||||||
\
|
\
|
||||||
product(int, LockingMode, LM_LIGHTWEIGHT, \
|
product(int, LockingMode, LM_LIGHTWEIGHT, \
|
||||||
"Select locking mode: " \
|
"(Deprecated) Select locking mode: " \
|
||||||
"0: monitors only (LM_MONITOR), " \
|
"0: (Deprecated) monitors only (LM_MONITOR), " \
|
||||||
"1: monitors & legacy stack-locking (LM_LEGACY), " \
|
"1: (Deprecated) monitors & legacy stack-locking (LM_LEGACY), " \
|
||||||
"2: monitors & new lightweight locking (LM_LIGHTWEIGHT, default)") \
|
"2: monitors & new lightweight locking (LM_LIGHTWEIGHT, default)") \
|
||||||
range(0, 2) \
|
range(0, 2) \
|
||||||
\
|
\
|
||||||
|
@ -58,6 +58,7 @@ public class VMDeprecatedOptions {
|
|||||||
// deprecated non-alias flags:
|
// deprecated non-alias flags:
|
||||||
{"AllowRedefinitionToAddDeleteMethods", "true"},
|
{"AllowRedefinitionToAddDeleteMethods", "true"},
|
||||||
{"ZGenerational", "false"},
|
{"ZGenerational", "false"},
|
||||||
|
{"LockingMode", "1"},
|
||||||
|
|
||||||
// deprecated alias flags (see also aliased_jvm_flags):
|
// deprecated alias flags (see also aliased_jvm_flags):
|
||||||
{"CreateMinidumpOnCrash", "false"}
|
{"CreateMinidumpOnCrash", "false"}
|
||||||
|
Loading…
Reference in New Issue
Block a user