Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/2480
@michaelandrepearce @clebertsuconic I have taken a better look to the code
and seems that `deliveringRefs` is being limited (if set) by both
`consumerWindowSize`and TCP-flow control hence I don't think is a big deal to
use an `ArrayDeque` in place of a `LinkedList`, but I can use too a collection
that get the bet of the both, a
[ChunkedQueue](https://github.com/franz1981/activemq-artemis/blob/40fb24898b5a89445fd3e2743d0f369548a37a17/artemis-commons/src/main/java/org/apache/activemq/artemis/utils/collections/ChunkedQueue.java)
that I have built some time ago. wdyt?
---