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

Andrew Purtell updated HBASE-12839:
-----------------------------------
    Attachment: HBASE-12839.patch

Findbugs warning was mine. Updated patch. Sorry about that.

> Remove synchronization in ServerStatisticsTracker
> -------------------------------------------------
>
>                 Key: HBASE-12839
>                 URL: https://issues.apache.org/jira/browse/HBASE-12839
>             Project: HBase
>          Issue Type: Improvement
>    Affects Versions: 2.0.0
>            Reporter: Andrew Purtell
>            Assignee: Andrew Purtell
>            Priority: Minor
>             Fix For: 2.0.0
>
>         Attachments: HBASE-12839.patch, HBASE-12839.patch
>
>
> Remove synchronization in ServerStatisticTracker. We can use putIfAbsent 
> instead of a synchronized block to add ServerStatistic objects to the 
> concurrent statistics hashmap. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to