[jboss-jira] [JBoss JIRA] (JBMESSAGING-1906) Add un-synchronized getMessageCount()
Justin Bertram (Created) (JIRA)
jira-events at lists.jboss.org
Mon Oct 24 22:31:45 EDT 2011
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.8.SP3, 1.4.0.SP3.CP14
Reporter: Justin Bertram
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