RFR: 8154387 - Parallel unordered Stream.limit() tries to collect 128 elements even if limit is less

Paul Sandoz paul.sandoz at oracle.com
Wed Apr 20 11:52:01 UTC 2016


> On 20 Apr 2016, at 13:50, Tagir F. Valeev <amaembo at gmail.com> wrote:
> 
> Hello!
> 
> PS> Thinking some more about this, i think it would be preferable. It
> PS> reduces the explicit referral to
> PS> ForkJoinPool.getCommonPoolParallelism().
> 
> No problems, here's updated webrev:
> http://cr.openjdk.java.net/~tvaleev/webrev/8154387/r2/
> All tests pass.
> 

Thanks, in my queue, as if your other webrev.

Paul.



More information about the core-libs-dev mailing list