JDK-8235965 : Tests using ThreadLocalHandshakes need to stop using it as it no longer exists
  • Type: Bug
  • Component: hotspot
  • Sub-Component: runtime
  • Affected Version: 15
  • Priority: P2
  • Status: Closed
  • Resolution: Fixed
  • Submitted: 2019-12-16
  • Updated: 2022-09-23
  • Resolved: 2019-12-16
The Version table provides details related to the release that this issue/RFE will be addressed.

Unresolved : Release in which this issue/RFE will be addressed.
Resolved: Release in which this issue/RFE has been resolved.
Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.

To download the current JDK release, click here.
JDK 15
15 b02Fixed
Related Reports
Duplicate :  
Relates :  
Description
ThreadLocalHandshakes was obsoleted under JDK-8220049 for JDK 14 and the flag has now expired in JDK 15. But a few tests set the flag and were not updated by JDK-8220049 and so need to be fixed.

./runtime/NMT/SafepointPollingPages.java
./runtime/handshake/HandshakeWalkStackFallbackTest.java
Comments
A pull request was submitted for review. URL: https://git.openjdk.org/jdk11u-dev/pull/1370 Date: 2022-09-23 01:18:04 +0000
23-09-2022

URL: https://hg.openjdk.java.net/jdk/jdk/rev/81a62171f681 User: dholmes Date: 2019-12-16 02:56:38 +0000
16-12-2019

The "fallback" test is obsolete now as there is no fallback path to be tested.
16-12-2019