RFR: 8288899: java/util/concurrent/ExecutorService/CloseTest.java failed with "InterruptedException: sleep interrupted" [v23]

Doug Lea dl at openjdk.org
Mon Sep 4 10:08:45 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 67 additional commits since the last revision:

 - Merge branch 'openjdk:master' into JDK-8288899
 - Avoid jtreg test group
 - Ignore more stray interrupts by test harness
 - Merge branch 'openjdk:master' into JDK-8288899
 - Fix tests, undo workarounds
 - Avoid unwanted jtreg interrupts; undo unnecessary changes
 - Merge branch 'openjdk:master' into JDK-8288899
 - Clear interrupts at top level
 - Conditionalize new tests
 - Isolate unexpected interrupt status issues
 - ... and 57 more: https://git.openjdk.org/jdk/compare/892dc0cf...551a9cf8

-------------

Changes:
  - all: https://git.openjdk.org/jdk/pull/14301/files
  - new: https://git.openjdk.org/jdk/pull/14301/files/9d590699..551a9cf8

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=14301&range=22
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=14301&range=21-22

  Stats: 1434 lines in 37 files changed: 1186 ins; 157 del; 91 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