[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stu Hood updated BOOKKEEPER-392:
--------------------------------

    Attachment: 392.diff

Merges containsKey+get or get+remove calls into gets/removes, respectively. 
Uses putIfAbsent or precise remove where appropriate. Also replaces the 
LinkedList in HedwigClientImpl.host2topic with a threadsafe linked list (CLQ).
                
> Racey ConcurrentMap usage in java hedwig-client
> -----------------------------------------------
>
>                 Key: BOOKKEEPER-392
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-392
>             Project: Bookkeeper
>          Issue Type: Bug
>          Components: hedwig-client
>            Reporter: Stu Hood
>         Attachments: 392.diff
>
>
> The java hedwig-client misuses ConcurrentMap in various ways.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to