RFR 8027316 Distinct operation on an unordered stream should not be a barrier
Mike Duigou
mike.duigou at oracle.com
Wed Oct 30 17:08:40 UTC 2013
Looks OK to me.
Thanks for including a comment in the tests. :-)
Mike
On Oct 30 2013, at 02:30 , Paul Sandoz <paul.sandoz at oracle.com> wrote:
> Hi
>
> Please review:
>
> http://cr.openjdk.java.net/~psandoz/tl/JDK-8027316-distinct-unordered/webrev/
>
> The fix ensures that the distinct operation, for a parallel stream, is not a full barrier if the upstream is unordered (and not already distinct, otherwise it is a no-op).
>
> Thanks,
> Paul.
More information about the core-libs-dev
mailing list