Skip to content

Commit f79bd54

Browse files
author
Alan Bateman
committed
8362882: Update SubmissionPublisher() specification to reflect use of ForkJoinPool.asyncCommonPool()
Reviewed-by: jpai, dl
1 parent 52155db commit f79bd54

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/java.base/share/classes/java/util/concurrent/SubmissionPublisher.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -292,9 +292,7 @@ public SubmissionPublisher(Executor executor, int maxBufferCapacity) {
292292

293293
/**
294294
* Creates a new SubmissionPublisher using the {@link
295-
* ForkJoinPool#commonPool()} for async delivery to subscribers
296-
* (unless it does not support a parallelism level of at least two,
297-
* in which case, a new Thread is created to run each task), with
295+
* ForkJoinPool#commonPool()} for async delivery to subscribers, with
298296
* maximum buffer capacity of {@link Flow#defaultBufferSize}, and no
299297
* handler for Subscriber exceptions in method {@link
300298
* Flow.Subscriber#onNext(Object) onNext}.

0 commit comments

Comments
 (0)