[jboss-jira] [JBoss JIRA] (JBMESSAGING-1906) Add un-synchronized getMessageCount()
Justin Bertram (Assigned) (JIRA)
jira-events at lists.jboss.org
Mon Oct 24 22:31:46 EDT 2011
[ https://issues.jboss.org/browse/JBMESSAGING-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Justin Bertram reassigned JBMESSAGING-1906:
-------------------------------------------
Assignee: Yong Hao Gao
> Add un-synchronized getMessageCount()
> -------------------------------------
>
> Key: JBMESSAGING-1906
> URL: https://issues.jboss.org/browse/JBMESSAGING-1906
> Project: JBoss Messaging
> Issue Type: Enhancement
> Components: Configuration and Management
> Affects Versions: 1.4.0.SP3.CP14, 1.4.8.SP3
> Reporter: Justin Bertram
> Assignee: Yong Hao Gao
>
> The method org.jboss.messaging.core.impl.ChannelSupport.getMessageCount() is essentially completely synchronized. This can cause performance problems for management utilities that execute this method via JMX in a polling fashion to gather statistics over time. Please either remove the synchronization from this method or add another that is not synchronized.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.jboss.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the jboss-jira
mailing list