RFR: 8362882: Update SubmissionPublisher() specification to reflect use of ForkJoinPool.asyncCommonPool()

Doug Lea dl at openjdk.org
Thu Jul 24 13:59:54 UTC 2025


On Tue, 22 Jul 2025 13:13:41 GMT, Alan Bateman <alanb at openjdk.org> wrote:

> The changes in JDK-8319447 to improve the performance of delayed task handling updated CompletableFuture and SubmissionPublisher to use the ForkJoinPool commonPool in all cases. These APIs previously created a Thread for each task when parallelism was less than 2. We missed the update to SubmissionPublisher's no-arg constructor in that update.

Yes, sorry to have missed this before.

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

Marked as reviewed by dl (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/26426#pullrequestreview-3051794583


More information about the core-libs-dev mailing list