RFR(xs): 8220050: Deprecate -XX:-ThreadLocalHandshakes

Doerr, Martin martin.doerr at sap.com
Wed Mar 6 13:56:26 UTC 2019


Hi Robbin,

looks good to me.

Best regards,
Martin


-----Original Message-----
From: hotspot-runtime-dev <hotspot-runtime-dev-bounces at openjdk.java.net> On Behalf Of Robbin Ehn
Sent: Mittwoch, 6. März 2019 14:10
To: hotspot-runtime-dev at openjdk.java.net
Subject: RFR(xs): 8220050: Deprecate -XX:-ThreadLocalHandshakes

Hi all, please review.

Issue:
https://bugs.openjdk.java.net/browse/JDK-8220050
CSR:
https://bugs.openjdk.java.net/browse/JDK-8220052
Parent issue:
https://bugs.openjdk.java.net/browse/JDK-8220049

Code:
diff -r 13acb4339895 src/hotspot/share/runtime/arguments.cpp
--- a/src/hotspot/share/runtime/arguments.cpp	Wed Mar 06 11:15:16 2019 +0100
+++ b/src/hotspot/share/runtime/arguments.cpp	Wed Mar 06 12:18:37 2019 +0100
@@ -532,2 +532,3 @@
    { "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) },

diff -r 13acb4339895 test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java
--- a/test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java	Wed Mar 06 
11:15:16 2019 +0100
+++ b/test/hotspot/jtreg/runtime/CommandLine/VMDeprecatedOptions.java	Wed Mar 06 
12:18:37 2019 +0100
@@ -47,2 +47,3 @@
          {"TLABStats",                 "false"},
+        {"ThreadLocalHandshakes",     "true"},

Passes VMDeprecatedOptions and hs-t1.

Thanks, Robbin


More information about the hotspot-runtime-dev mailing list