changeset 54018:0f9a54a13803

8220050: Deprecate -XX:-ThreadLocalHandshakes Reviewed-by: dcubed, mdoerr
author rehn
date Thu, 07 Mar 2019 10:32:55 +0100
parents 274361bd6915
children 15595ecf9cf1
files src/hotspot/share/runtime/arguments.cpp test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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"},