hg: lambda/lambda/jdk: 2 new changesets

paul.sandoz at oracle.com paul.sandoz at oracle.com
Fri Jan 25 01:23:15 PST 2013

Changeset: 99b1d495328b
Author:    psandoz
Date:      2013-01-25 10:02 +0100
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/99b1d495328b

- remove PipelineHelper.wrapSequential and use in SliceOp, which now defers to
re-using the sink when the leaf task is also the root task.
- SliceOp only needs to visit the child nodes and discard/truncate when
the absolute size information is known, which can only be the case when
the root task is completed.
- removed functionality in OpUtils that duplicates that in PipelineHelper.

! src/share/classes/java/util/stream/AbstractPipeline.java
! src/share/classes/java/util/stream/NodeUtils.java
! src/share/classes/java/util/stream/OpUtils.java
! src/share/classes/java/util/stream/PipelineHelper.java
! src/share/classes/java/util/stream/SliceOp.java

Changeset: b624065ad930
Author:    psandoz
Date:      2013-01-25 10:09 +0100
URL:       http://hg.openjdk.java.net/lambda/lambda/jdk/rev/b624065ad930

- replace NodeFactory.truncateToNode with Node.truncate.
This allows for future truncation optimizations over the current
default method implementations on Node and Node.OfPrimitive.

! src/share/classes/java/util/stream/Node.java
! src/share/classes/java/util/stream/NodeFactory.java
! src/share/classes/java/util/stream/Nodes.java
! src/share/classes/java/util/stream/SliceOp.java

More information about the lambda-dev mailing list