RFR: 8362882: Update SubmissionPublisher() specification to reflect use of ForkJoinPool.asyncCommonPool()
Jaikiran Pai
jpai at openjdk.org
Wed Jul 23 15:35: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.
This looks OK to me and matches the current implementation of this constructor.
-------------
Marked as reviewed by jpai (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/26426#pullrequestreview-3048000895
More information about the core-libs-dev
mailing list