[concurrency-interest] ConcurrentHashMapV8

Doug Lea dl at cs.oswego.edu
Sun Aug 28 15:24:16 EDT 2011


A candidate replacement for java.util.concurrent.ConcurrentHashMap
is now available as jsr166e.ConcurrentHashMapV8. This version
is much more amenable to upcoming support for aggregate
parallel operations (including, already, method "computeIfAbsent'
using a stand-in MappingFunction type).

The internal design is interestingly different.
Read the internal documentation for details.
(http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/ConcurrentHashMapV8.java?view=log)

Please give it a try, and let us know about experiences.

Links:
     *  API specs:  http://gee.cs.oswego.edu/dl/jsr166/dist/jsr166edocs/
     * jar file: http://gee.cs.oswego.edu/dl/jsr166/dist/jsr166e.jar (compiled 
using Java7 javac).
     * Browsable CVS sources: 
http://gee.cs.oswego.edu/cgi-bin/viewcvs.cgi/jsr166/src/jsr166e/




More information about the Concurrency-interest mailing list