[
https://issues.apache.org/jira/browse/AMQ-4231?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Timothy Bish closed AMQ-4231.
-----------------------------
Resolution: Not A Problem
Playing with the synchronization here is dangerous. The code works as designed
and there's no evidence provided that these changes improve things while not
introducing new problems.
> 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 was sent by Atlassian JIRA
(v6.1#6144)