hbase-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Sigoure (JIRA)" <j...@apache.org>
Subject [jira] Updated: (HBASE-2874) Unnecessary double-synchronization in ZooKeeperWrapper
Date Sat, 24 Jul 2010 03:20:50 GMT

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

Benoit Sigoure updated HBASE-2874:
----------------------------------

    Attachment: trunk-HBASE-2874-Unnecessary-double-synchronization-in-Zoo.patch

1-line change that fixes the issue (modulo the trailing whitespaces being killed).

> Unnecessary double-synchronization in ZooKeeperWrapper
> ------------------------------------------------------
>
>                 Key: HBASE-2874
>                 URL: https://issues.apache.org/jira/browse/HBASE-2874
>             Project: HBase
>          Issue Type: Bug
>          Components: zookeeper
>            Reporter: Benoit Sigoure
>            Assignee: Benoit Sigoure
>            Priority: Trivial
>         Attachments: trunk-HBASE-2874-Unnecessary-double-synchronization-in-Zoo.patch
>
>
> The {{listeners}} attribute is a synchronized collection but it's only accessed from
3 methods that are already marked as {{synchronized}}.  The double-synchronization is unnecessary
and can be eliminated.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message