RFR: 8286294 : ForkJoinPool.commonPool().close() spins

Martin Buchholz martin at openjdk.java.net
Fri May 6 20:28:58 UTC 2022


On Fri, 6 May 2022 15:05:57 GMT, Doug Lea <dl at openjdk.org> wrote:

> Changes ForkJoinPool.close spec and code to trap close as a no-op if called on common pool

test/jdk/java/util/concurrent/tck/ForkJoinPool19Test.java line 496:

> 494: 
> 495:     /**
> 496:      * Implictly closing a new pool using try-with-resources terminates it

Typo "Implictly" - twice

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

PR: https://git.openjdk.java.net/jdk/pull/8577


More information about the core-libs-dev mailing list