JDK-8296405 : java/util/concurrent/forkjoin/AsyncShutdownNow.java is too slow
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.concurrent
  • Priority: P4
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2022-11-04
  • Updated: 2024-08-28
  • Resolved: 2022-11-17
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 17 JDK 20
17.0.8-oracleFixed 20 b25Fixed
Related Reports
Relates :  
Relates :  
Description
java/util/concurrent/forkjoin/AsyncShutdownNow.java takes ~40s as each test uses a delay of 5s before it invokes shutdownNow. The test can be sped up by polling the thread state and invoking shutdownNow when the thread waits.
Comments
Changeset: 636040f8 Author: Alan Bateman <alanb@openjdk.org> Date: 2022-11-17 09:18:50 +0000 URL: https://git.openjdk.org/jdk/commit/636040f8753e3610193e594605ff1adef5c049ed
17-11-2022

A pull request was submitted for review. URL: https://git.openjdk.org/jdk/pull/10986 Date: 2022-11-04 14:13:42 +0000
14-11-2022