activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <>
Subject [jira] [Commented] (ARTEMIS-1622) Reduce memory footprint of QueueImpl
Date Fri, 19 Jan 2018 10:32:00 GMT


ASF GitHub Bot commented on ARTEMIS-1622:

Github user franz1981 commented on the issue:
    @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:
>             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

View raw message