8220050: Deprecate -XX:-ThreadLocalHandshakes
authorrehn
Thu, 07 Mar 2019 10:32:55 +0100
changeset 54018 0f9a54a13803
parent 54017 274361bd6915
child 54019 15595ecf9cf1
8220050: Deprecate -XX:-ThreadLocalHandshakes Reviewed-by: dcubed, mdoerr
src/hotspot/share/runtime/arguments.cpp
test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
--- a/src/hotspot/share/runtime/arguments.cpp	Thu Mar 07 10:22:19 2019 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Thu Mar 07 10:32:55 2019 +0100
@@ -530,6 +530,7 @@
   { "UseMembar",                    JDK_Version::jdk(10), JDK_Version::jdk(12), JDK_Version::undefined() },
   { "CompilationPolicyChoice",      JDK_Version::jdk(13), JDK_Version::jdk(14), JDK_Version::undefined() },
   { "FailOverToOldVerifier",        JDK_Version::jdk(13), JDK_Version::jdk(14), JDK_Version::undefined() },
+  { "ThreadLocalHandshakes",        JDK_Version::jdk(13), JDK_Version::jdk(14), JDK_Version::jdk(15) },
 
   // --- Deprecated alias flags (see also aliased_jvm_flags) - sorted by obsolete_in then expired_in:
   { "DefaultMaxRAMFraction",        JDK_Version::jdk(8),  JDK_Version::undefined(), JDK_Version::undefined() },
--- a/test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java	Thu Mar 07 10:22:19 2019 +0100
+++ b/test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java	Thu Mar 07 10:32:55 2019 +0100
@@ -45,6 +45,7 @@
         {"MinRAMFraction",            "2"},
         {"InitialRAMFraction",        "64"},
         {"TLABStats",                 "false"},
+        {"ThreadLocalHandshakes",     "true"},
 
         // deprecated alias flags (see also aliased_jvm_flags):
         {"DefaultMaxRAMFraction", "4"},