RFR: 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted" [v6]
Doug Lea
dl at openjdk.org
Thu Aug 17 19:06:33 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 incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains 48 additional commits since the last revision:
- Merge branch 'openjdk:master' into JDK-8288899
- Pass through cancellations in FJ tests
- Avoid false-alarm failures on shutdown
- Merge branch 'openjdk:master' into JDK-8288899
- Update @since tags
- resync
- Merge branch 'openjdk:master' into JDK-8288899
- ExecutorService tests
- Merge branch 'openjdk:master' into JDK-8288899
- Rework versioning
- ... and 38 more: https://git.openjdk.org/jdk/compare/c7aafe3e...11b9d732
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/14301/files
- new: https://git.openjdk.org/jdk/pull/14301/files/901f5bdd..11b9d732
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=14301&range=05
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=14301&range=04-05
Stats: 8160 lines in 274 files changed: 5118 ins; 313 del; 2729 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