accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ted Yu (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2324) DistributedWorkQueue#waitUntilDone() shouldn't synchronize on String object
Date Wed, 05 Feb 2014 00:30:14 GMT
Ted Yu created ACCUMULO-2324:
--------------------------------

             Summary: 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
            Reporter: Ted Yu


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