[
https://issues.apache.org/jira/browse/ARTEMIS-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16332088#comment-16332088
]
ASF GitHub Bot commented on ARTEMIS-1622:
-----------------------------------------
Github user franz1981 commented on the issue:
https://github.com/apache/activemq-artemis/pull/1791
@michaelandrepearce The fact is that what Node contains is "enforced" by
who use it and that is already generics (ie `LinkedListImpl`) and adding
generic to `Node' won't add any value to who declare it (ie
`PagedReferenceImpl`) indeed all the `Node` fields are hidden on purpose (for
perf reasons mainly).
I hope it will explain why I've chosen to "drop" this feature, but I agree
that could be cool to have it :)
> Reduce memory footprint of QueueImpl
> ------------------------------------
>
> Key: ARTEMIS-1622
> URL: https://issues.apache.org/jira/browse/ARTEMIS-1622
> Project: ActiveMQ Artemis
> Issue Type: Improvement
> Environment: QueueImpl is backed by LinkedListImpl that allocates a
> Node for each message reference: reducing the footprint will help GC and
> allow more precise memory estimation to tune the heap.
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Major
>
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)