[ 
https://issues.apache.org/jira/browse/AMQ-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13535146#comment-13535146
 ] 

Timothy Bish commented on AMQ-4231:
-----------------------------------

Patch is lacking any unit tests which would prevent the fixes from being 
protected into the future plus serve as a demonstration of the possible problem.
                
> RWLock in queue does not used properly - performance improvement
> ----------------------------------------------------------------
>
>                 Key: AMQ-4231
>                 URL: https://issues.apache.org/jira/browse/AMQ-4231
>             Project: ActiveMQ
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 5.4.2, 5.7.0
>         Environment: fedora15; ubuntu 12.10; debian; probably independent
>            Reporter: Tomáš Martinec
>            Priority: Minor
>              Labels: locks, performance,, queue,, synchronization,
>         Attachments: unsynchronizing-cursors.diff
>
>
> The full story is in the user forum under title:
> Activemq 5.4.2 hangs when the temp disk usage is used
> The advantage of RW locks in Queue class is not used much. The cursors 
> objects are synchronized, so the readers cannot access the queued messages 
> concurrently.
> The fixing effort of this issue may not be worth it, but you may consider 
> this issue during fixing related issues.
>  

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to