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-2502) SimpleTimer#getInstanceThreadPoolSize() should be synchronized
Date Wed, 19 Mar 2014 22:24:46 GMT
Ted Yu created ACCUMULO-2502:
--------------------------------

             Summary: SimpleTimer#getInstanceThreadPoolSize() should be synchronized
                 Key: ACCUMULO-2502
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2502
             Project: Accumulo
          Issue Type: Bug
            Reporter: Ted Yu
            Priority: Minor


SimpleTimer#getInstanceThreadPoolSize() accesses instanceThreadPoolSize without protection.

getInstance() is synchronized.
getInstanceThreadPoolSize() should be synchronized as well.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message