accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Havanki (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ACCUMULO-2502) SimpleTimer#getInstanceThreadPoolSize() should be synchronized
Date Thu, 20 Mar 2014 14:50:58 GMT

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

Bill Havanki commented on ACCUMULO-2502:
----------------------------------------

Yup!

> 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