[
https://issues.apache.org/jira/browse/ARTEMIS-2212?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16728466#comment-16728466
]
ASF GitHub Bot commented on ARTEMIS-2212:
-----------------------------------------
GitHub user franz1981 opened a pull request:
https://github.com/apache/activemq-artemis/pull/2480
ARTEMIS-2212 Avoid using CLQ on ServerConsumerImpl
It would deliver a better performance for the most
common operations eg offer, poll, iterations, size.
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/franz1981/activemq-artemis array_q_vs_clq
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/activemq-artemis/pull/2480.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 #2480
----
commit b5cbf969225f8d72592d7da65e60b999e5ac6882
Author: Francesco Nigro <nigro.fra@...>
Date: 2018-12-12T16:47:33Z
ARTEMIS-2212 Avoid using CLQ on ServerConsumerImpl
It would deliver a better performance for the most
common operations eg offer, poll, iterations, size.
----
> Avoid using CLQ on ServerConsumerImpl
> -------------------------------------
>
> Key: ARTEMIS-2212
> URL: https://issues.apache.org/jira/browse/ARTEMIS-2212
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Affects Versions: 2.7.0
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Minor
>
> ServerConsumerImpl is using a ConcurrentLinkedQueue that can be avoided to be
> used considering that any accesses is guarded by a lock.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)