[jira] [Commented] (COLLECTIONS-700) Add a ConcurrentWeakHashMap

2021-11-11 Thread asha somayajula (Jira)


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

asha somayajula commented on COLLECTIONS-700:
-

Can I work this issue? If yes, is there a good place to start? My first really 
here on Jira and on commons

Thanks,
Asha

> 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 D. Gregory
>Assignee: Gary D. 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
(v8.20.1#820001)


[jira] [Commented] (COLLECTIONS-700) Add a ConcurrentWeakHashMap

2018-10-31 Thread Gary Gregory (JIRA)


[ 
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)


[jira] [Commented] (COLLECTIONS-700) Add a ConcurrentWeakHashMap

2018-10-31 Thread Jochen Wiedmann (JIRA)


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

Jochen Wiedmann commented on COLLECTIONS-700:
-

As we already have a WeakHashMap: Can't one simply use 
Collections.synchronizedMap(weakMap)?

 

> 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)