[b83 regression?] stream.parallel().isParallel() returns false

Paul Sandoz paul.sandoz at oracle.com
Wed Mar 27 04:49:49 PDT 2013

On Mar 27, 2013, at 11:52 AM, Dmitry Bessonov <dmitry.bessonov at oracle.com> wrote:

> Hello,
> With b83
> System.out.println("isParallel = " +Arrays.asList(1, 2, 
> 3).stream().parallel().isParallel());
> prints out
> isParallel = false


We have recently made some changes to parallel()/sequential() so they just flip a bit saying if the whole pipeline will be evaluated in parallel or not, rather than grouping the pipeline into stages of parallel or sequential evaluation.  However, the underlying implementation is not yet fully complete, we are working on it.


More information about the lambda-dev mailing list