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

Doug Lea dl at openjdk.org
Tue Jul 25 11:25:42 UTC 2023


On Sat, 3 Jun 2023 14:08:02 GMT, Doug Lea <dl at openjdk.org> wrote:

> 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.

Just a keep-alive comment

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

PR Comment: https://git.openjdk.org/jdk/pull/14301#issuecomment-1649644972


More information about the core-libs-dev mailing list