[ 
https://issues.apache.org/jira/browse/ARTEMIS-1622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16332069#comment-16332069
 ] 

ASF GitHub Bot commented on ARTEMIS-1622:
-----------------------------------------

Github user franz1981 commented on the issue:

    https://github.com/apache/activemq-artemis/pull/1791
  
    @michaelandrepearce I will try to maintain the generics too if possible 
(not simple to fight with generics!) and  about the cast it will be put already 
by the JVM with a thing called "uncommon trap" because generics live only at 
compile time and the JVM always prefers to be safer than sorry.
    
    > this could have been: PagedReferenceImpl extends LinkedListImpl.Node
    
     do you mean `PagedReferenceImpl extends 
LinkedListImpl.Node<PagedReferenceImpl>`?



> 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)

Reply via email to