[concurrency-interest] Subject: Re: ConcurrentHashMapV8

Kasper Nielsen kasperni at gmail.com
Mon Feb 24 07:56:01 EST 2014


On Mon, Feb 24, 2014 at 1:27 PM, Bryan Thompson <bryan at systap.com> wrote:

> Could I get a pointer to how parallel iterators will be introduced into
> the existing classes or abstractions?  I am running into an issue now
> where the slowest stage of a parallel graph traversal is the sequential
> reduction over the visited vertices after the traversal is finished and it
> is time to extract an answer.  The visited vertices are stored in a
> ConcurrentHashMap during the traversal, but there is no means available to
> extract them in parallel right now.
>

Have you taken a look at CHM in jsr166e/Java8?
Around 20 new methods in CHM for parallel iteration/reduction.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20140224/0d049a0d/attachment.html>


More information about the Concurrency-interest mailing list