RFR: 8357146: ForkJoinPool:schedule(*) does not throw RejectedExecutionException when pool is shutdown [v2]

Alan Bateman alanb at openjdk.org
Mon May 26 15:52:55 UTC 2025


On Mon, 26 May 2025 12:54:06 GMT, Doug Lea <dl at openjdk.org> wrote:

>> Method startDelayScheduler should trap the ISE thrown by SharedThreadContainer.start and possibly re-try termination before eventually throwing RejectedExecutionException.
>
> Doug Lea has updated the pull request incrementally with one additional commit since the last revision:
> 
>   rethrow Errors in startDelayScheduler

Latest version looks good, and Thread.start throwing OOME will be propagated.

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

Marked as reviewed by alanb (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25431#pullrequestreview-2868806444


More information about the core-libs-dev mailing list