accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2324) DistributedWorkQueue#waitUntilDone() shouldn't synchronize on String object
Date Wed, 19 Feb 2014 18:54:22 GMT

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

ASF subversion and git services commented on ACCUMULO-2324:
-----------------------------------------------------------

Commit 39613b4b9191ddba241726c8efe6e6d51dea53f4 in accumulo's branch refs/heads/1.5.1-SNAPSHOT
from [~ecn]
[ https://git-wip-us.apache.org/repos/asf?p=accumulo.git;h=39613b4 ]

ACCUMULO-2324 synchronize on plain old Object, and not a String


> DistributedWorkQueue#waitUntilDone() shouldn't synchronize on String object
> ---------------------------------------------------------------------------
>
>                 Key: ACCUMULO-2324
>                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2324
>             Project: Accumulo
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Ted Yu
>            Assignee: Eric Newton
>             Fix For: 1.6.0, 1.5.2
>
>
> Synchronization is done on condVar, a String.
> This is not good practice.
> See http://stackoverflow.com/questions/133988/problem-with-synchronizing-on-string-objects



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message