JDK-8246585 : ForkJoin updates
  • Type: Enhancement
  • Component: core-libs
  • Sub-Component: java.util.concurrent
  • Affected Version: 13
  • Priority: P3
  • Status: Resolved
  • Resolution: Fixed
  • Submitted: 2020-06-04
  • Updated: 2023-09-06
  • Resolved: 2021-01-09
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
17 b05Fixed
Related Reports
CSR :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Relates :  
Description
This is a followup to JDK13 updates to refresh internal java.util.concurrent lock usages and support. Quoting internal documentation:
     * * ForkJoinTask now uses field "aux" to support blocking joins
     *   and/or record exceptions, replacing reliance on builtin
     *   monitors and side tables.
     * * Scans probe slots (vs compare indices), along with related
     *   changes that reduce performance differences across most
     *   garbage collectors, and reduce contention.
     * * Refactoring for better integration of special task types and
     *   other capabilities that had been incrementally tacked on. Plus
     *   many minor reworkings to improve consistency.


Comments
Changeset: 5cfa8c94 Author: Martin Buchholz <martin@openjdk.org> Date: 2021-01-09 20:57:52 +0000 URL: https://git.openjdk.java.net/jdk/commit/5cfa8c94
09-01-2021

Logistics note: After sitting in jsr166 repo since January 2020, integration was planned for March, but got delayed by world events.
04-06-2020