[ 
https://issues.apache.org/jira/browse/COLLECTIONS-700?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16670191#comment-16670191
 ] 

Gary Gregory commented on COLLECTIONS-700:
------------------------------------------

The whole idea is _avoid_ doing just that. Synchronizing the map locks the 
whole map on each call, a concurrent version would be thread-safe but not lock 
the whole map. Also, synchronizing the whole map still does not fix 
BEANUTILS-509, see that ticket.

> Add a ConcurrentWeakHashMap
> ---------------------------
>
>                 Key: COLLECTIONS-700
>                 URL: https://issues.apache.org/jira/browse/COLLECTIONS-700
>             Project: Commons Collections
>          Issue Type: New Feature
>          Components: Map
>            Reporter: Gary Gregory
>            Priority: Major
>
> Add a {{ConcurrentWeakHashMap}}: A concurrent 
> {{[WeakHashMap|https://docs.oracle.com/javase/8/docs/api/java/util/WeakHashMap.html]}}.
>  A need for this was found to best support BeanUtils's BEANUTILS-509
> This issue is looking for a volunteer.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to