You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@accumulo.apache.org by "Bill Havanki (JIRA)" <ji...@apache.org> on 2014/03/20 15:50:58 UTC
[jira] [Commented] (ACCUMULO-2502)
SimpleTimer#getInstanceThreadPoolSize() should be synchronized
[ 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)