Java 8 "automatically-parallelizable bulk-data operations"
aleksey.shipilev at oracle.com
Tue Aug 7 02:35:00 PDT 2012
Hi again, Piotr!
In current branch, the connection of _parallel_ operations to the
libraries is not yet implemented. Look for the implementors of
ParallelIterable interface. I think the only thing you can use at this
point is Arrays.parallel().
There is pending effort to retrofit and/or adapt existing collections in
"it2-bootstrap" branch, but that is the pending work.
On 08/07/2012 01:25 PM, Piotr Bzdyl wrote:
> This is my first post to this list so "Hello" to everyone!
> As you can see below, I was trying to find out what bulk operations would
> be automatically parallelizable in Java 8 (as stated by JSR-337 in the
> Performance section). I was forwarded to lambda mailing list as the
> development is being done by lambda project group.
> Could anybody shed some light on this topic? I checked the lambda/lambda
> source code but couldn't find any parallel implementation of those bulk
> Best regards,
> On Tue, Aug 7, 2012 at 11:20 AM, Piotr Bzdyl <piotr at bzdyl.net> wrote:
>> Thanks Aleksey for the response. I checked the source code from
>> lambda/lambda forest and binary builds and I could indeed find bulk
>> operations for collections but I was unable to find any parallel one. I
>> will try to ask on the lambda or jdk8 mailing lists.
>> On Tue, Jul 31, 2012 at 2:13 PM, Aleksey Shipilev <
>> aleksey.shipilev at gmail.com> wrote:
>>> Hi Piotr,
>>> That means operations on standard collections as well . This
>>> piggybacks on lambda-fication of collections . The development is
>>> done under lambda project umbrella , the prototype for bulk
>>> operations is available in lambda/lambda forest in OpenJDK, or binary
>>> builds at  as well.
>>> Please join the fun at lambda-dev@ if you are interested.
>>>  http://openjdk.java.net/jeps/107
>>>  http://openjdk.java.net/jeps/109
>>>  http://openjdk.java.net/projects/lambda/
>>>  http://mail.openjdk.java.net/mailman/listinfo/lambda-dev
>>> On Tue, Jul 31, 2012 at 1:54 PM, Piotr Bzdyl <piotr at bzdyl.net> wrote:
>>>> I tried to google it but could not find anything specific.
>>>> Java 8 release contents JSR-337 mentiones in the Performance section:
>>>> "In this release we will take another big step by enhancing the
>>>> Framework and related APIs to support automatically-parallelizable
>>>> operations such as filter, map, and reduce".
>>>> Does it mean just ParallelArray or also implementations of other
>>>> such as lists, sets and maps?
>>>> Best regards,
>>>> Concurrency-interest mailing list
>>>> Concurrency-interest at cs.oswego.edu
More information about the lambda-dev