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

Alan Bateman alanb at openjdk.org
Fri Jul 25 08:14:59 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 pull request has now been integrated.

Changeset: f79bd54b
Author:    Alan Bateman <alanb at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/f79bd54bbb9f5748e437346d34702608f7b67019
Stats:     3 lines in 1 file changed: 0 ins; 2 del; 1 mod

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

Reviewed-by: jpai, dl

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

PR: https://git.openjdk.org/jdk/pull/26426


More information about the core-libs-dev mailing list