[jboss-jira] [JBoss JIRA] Commented: (JBMESSAGING-1775) Unsynchronized access to java.util.Set causing high CPU utilization

Tim Fox (JIRA) jira-events at lists.jboss.org
Mon Dec 7 05:37:30 EST 2009


    [ https://jira.jboss.org/jira/browse/JBMESSAGING-1775?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12498543#action_12498543 ] 

Tim Fox commented on JBMESSAGING-1775:
--------------------------------------

Howard is right.

Sessions should never be shared within threads, it's an illegal usage.

The collections in session are deliberately not thread safe, since they don't need to be in proper usage.

> Unsynchronized access to java.util.Set causing high CPU utilization
> -------------------------------------------------------------------
>
>                 Key: JBMESSAGING-1775
>                 URL: https://jira.jboss.org/jira/browse/JBMESSAGING-1775
>             Project: JBoss Messaging
>          Issue Type: Bug
>          Components: Messaging Core
>    Affects Versions: 1.4.0.SP3.CP08
>            Reporter: Justin Bertram
>            Assignee: Howard Gao
>             Fix For: 1.4.0.SP3.CP10, 1.4.6.GA.SP1, 1.4.7.GA
>
>
> Unsynchronized access to java.util.Set in org.jboss.jms.client.state.HierarchicalStateSupport causes high CPU utilization.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jboss-jira mailing list