[jboss-jira] [JBoss JIRA] (JBMESSAGING-1906) Add un-synchronized getMessageCount()
Yong Hao Gao (Updated) (JIRA)
jira-events at lists.jboss.org
Wed Oct 26 05:10:45 EDT 2011
[ https://issues.jboss.org/browse/JBMESSAGING-1906?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Yong Hao Gao updated JBMESSAGING-1906:
--------------------------------------
Fix Version/s: 1.4.0.SP3.CP15
1.4.8.SP5
> 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
> Fix For: 1.4.0.SP3.CP15, 1.4.8.SP5
>
>
> 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