[concurrency-interest] RFC -- Java7 java.util.concurrent plans

Bob Lee crazybob at crazybob.org
Wed Dec 10 10:43:06 EST 2008


On Tue, Dec 9, 2008 at 4:35 PM, Doug Lea <dl at cs.oswego.edu> wrote:

> 3. ConcurrentReferenceHashMap
>   A concurrent hash map allowing weak, soft, etc keys and values.


BTW, I like the name "ReferenceMap" better.

  - It's obviously concurrent because it's in the "concurrent" package.
  - It doesn't makes sense to use anything but a hash-based implementation
with references.
  - We won't want a non-concurrent reference map because it will retain
garbage for too long.
  - I like shorter names.

Bob
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cs.oswego.edu/pipermail/concurrency-interest/attachments/20081210/b9cfffdc/attachment.html>


More information about the Concurrency-interest mailing list