[
https://issues.apache.org/jira/browse/ARTEMIS-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16332040#comment-16332040
]
ASF GitHub Bot commented on ARTEMIS-1622:
-----------------------------------------
Github user michaelandrepearce commented on the issue:
https://github.com/apache/activemq-artemis/pull/1791
@franz1981 why did we need to loose the generics on Node? it now means
theres a cast on get, and alot of un-needed change IMO.
if it was due to the extension now made here:
PagedReferenceImpl extends LinkedListImpl.Node
this could have been: PagedReferenceImpl extends
LinkedListImpl.Node<PagedReferenceImpl>
and like wise in MessageReferenceImpl
> 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)