GitHub user kurobako opened a pull request:

    https://github.com/apache/activemq-artemis/pull/411

    JBEAP-3173 Synchronization performed on 
java.util.concurrent.ConcurrentLinkedDeque object in class NettyConnection

    JBEAP-3173 Synchronization performed on 
java.util.concurrent.ConcurrentLinkedDeque object in class NettyConnection
    
    * synchronized keywords are now placed on methods since there are only two 
such methods in the class and both use the same monitor
    * LinkedList is used as a stack holding ReadyListeners instead of blocking 
data structure since all access to it is serialized anyway and there is no 
reason to have additional memory barriers.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/kurobako/activemq-artemis JBEAP-3173

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/411.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #411
    
----
commit 4e30d905b95f231c2605167fea73cd4a8fcf7b7a
Author: kurobako <[email protected]>
Date:   2016-03-04T22:44:16Z

    JBEAP-3173 Synchronization performed on 
java.util.concurrent.ConcurrentLinkedDeque object in class NettyConnection

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to