RFR: 8362882: Update SubmissionPublisher() specification to reflect use of ForkJoinPool.asyncCommonPool()
Alan Bateman
alanb at openjdk.org
Wed Jul 23 10:14:42 UTC 2025
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.
-------------
Commit messages:
- Initial commit
Changes: https://git.openjdk.org/jdk/pull/26426/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26426&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8362882
Stats: 3 lines in 1 file changed: 0 ins; 2 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/26426.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/26426/head:pull/26426
PR: https://git.openjdk.org/jdk/pull/26426
More information about the core-libs-dev
mailing list