RFR: 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted" [v52]
Doug Lea
dl at openjdk.org
Fri Oct 20 18:26:53 UTC 2023
> Addresses Jdk 8288899 : java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted" and related issues.
>
> This is a major ForkJoin update (and hard to review -- sorry) that finally addresses incompatibilities between ExecutorService and ForkJoinPool (which claims to implement it), with the goal of avoiding continuing bug reports and incompatibilities. Doing this required reworking internal control to use phaser/seqlock-style versioning schemes (affecting nearly every method) that ensure consistent data structures and actions without requiring global synchronization or locking on every task execution that would massively degrade performance. The previous lack of a solution to this was the main reason for these incompatibilities.
Doug Lea has updated the pull request with a new target base due to a merge or a rebase. The pull request now contains 100 commits:
- Merge master
- Ensure liveness for InterruptibleTasks
- Merge branch 'openjdk:master' into JDK-8288899
- More cleanup
- Merge branch 'openjdk:master' into JDK-8288899
- better window encoding
- Merge branch 'openjdk:master' into JDK-8288899
- cleanup
- Merge branch 'openjdk:master' into JDK-8288899
- refactor termination
- ... and 90 more: https://git.openjdk.org/jdk/compare/66d90d5d...faaf54b2
-------------
Changes: https://git.openjdk.org/jdk/pull/14301/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=14301&range=51
Stats: 4537 lines in 18 files changed: 2471 ins; 668 del; 1398 mod
Patch: https://git.openjdk.org/jdk/pull/14301.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/14301/head:pull/14301
PR: https://git.openjdk.org/jdk/pull/14301
More information about the core-libs-dev
mailing list