What is the closest to ConcurrentHashMap and NavigableMap in Java?

Jacek Furmankiewicz jacek99 at gmail.com
Fri Nov 15 08:36:54 PST 2013


So, if you add a read() method to MyMap for those threads, would 
that be synchronized as well?

That is what we would not want due performance impact.

How can you achieve lock-free reads with the synchronized MyMap 
approach?


More information about the Digitalmars-d-learn mailing list