[concurrency-interest] Java ConcurrentWeakHashMap

i hack idontcareifigethacked at gmail.com
Mon Aug 1 15:30:47 EDT 2016


I can't find one in the JDK.
Guava has one similar but it uses identity, I need it with equality.

http://stackoverflow.com/questions/2255950/is-there-java-concurrent-util-or-equivalent-for-weakhashmap
http://stackoverflow.com/questions/31875264/is-there-a-non-jdk-implementation-for-a-concurrent-weak-hash-map

I came across these on the mailing list (from 3 1/2 yrs ago...):
http://concurrency.markmail.org/search/?q=weakconcurrenthashmap#query:weakconcurrenthashmap%20order%3Arelevance+page:1+mid:swesuutrmb44jt2y+state:results
http://gee.cs.oswego.edu/dl/jsr166/dist/extra166ydocs/

But don't know what is the best option, if there is one, as of today, to
use a ConcurrentWeakHashMap, without rolling my own.

Thanks,
IDC
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20160801/81edd9b6/attachment.html>


More information about the Concurrency-interest mailing list