hg: lambda/lambda/jdk: 2 new changesets

paul.sandoz at oracle.com paul.sandoz at oracle.com
Wed Mar 20 08:33:22 PDT 2013


Changeset: 3ce478b236db
Author:    psandoz
Date:      2013-03-20 13:41 +0100
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/3ce478b236db

Initial batch size is larger and increases by the inital size.
Copying into an initially larger array may help offset slow
wake up of F/J threads.
Using larger arrays will also offset the higher framework costs,
when reducing, of the final combination step for right-heavy trees.
Contributed-by: Doug Lea <dl at cs.oswego.edu>

! src/share/classes/java/util/LinkedList.java
! src/share/classes/java/util/Spliterators.java

Changeset: 5a4fce62b434
Author:    psandoz
Date:      2013-03-20 16:29 +0100
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/5a4fce62b434

- An abstract spliterator that implements trySplit and permits
limited parallelism for extending classes implementing tryAdvance.
- Used for support of Stream.parallel() for limited parallelism
of a sequential stream of intermediate operations.

! src/share/classes/java/util/Spliterators.java
! src/share/classes/java/util/stream/DoublePipeline.java
! src/share/classes/java/util/stream/IntPipeline.java
! src/share/classes/java/util/stream/LongPipeline.java
! src/share/classes/java/util/stream/ReferencePipeline.java
! test-ng/tests/org/openjdk/tests/java/util/stream/SpliteratorTraversingAndSplittingTest.java
! test-ng/tests/org/openjdk/tests/java/util/stream/StreamSpliteratorTest.java



More information about the lambda-dev mailing list