[concurrency-interest] CHM.compute restrictions

Peter Levart peter.levart at gmail.com
Tue Aug 7 12:19:53 EDT 2018

On 08/07/2018 06:12 PM, Peter Levart wrote:
> To avoid that, outer and inner tasks should not share the same 
> ForkJoinPool.

But Stream(s) are currently not designed to work with anything else than 
default ForkJoinPool.

Would it make sense to extend the Stream API with an overloaded method like:

Stream.parallel(ForkJoinPool) ?

Regards, Peter

More information about the Concurrency-interest mailing list