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

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

GitHub user franz1981 opened a pull request:

    https://github.com/apache/activemq-artemis/pull/1989

    ARTEMIS-1772 Reduce memory footprint and allocations of QueueImpl

    It includes:
    - Message References: no longer uses boxed primitives and AtomicInteger
    - Node: intrusive nodes no longer need a reference field holding itself
    - RefCountMessage: no longer uses AtomicInteger, but 
AtomicIntegerFieldUpdater

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/franz1981/activemq-artemis msg_ref_footprint

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/activemq-artemis/pull/1989.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1989
    
----
commit 611cd0d16c2c402dd85416bb01c72bfc3b99e1d8
Author: Francesco Nigro <nigro.fra@...>
Date:   2018-03-20T09:16:24Z

    ARTEMIS-1772 Reduce memory footprint and allocations of QueueImpl
    
    It includes:
    - Message References: no longer uses boxed primitives and AtomicInteger
    - Node: intrusive nodes no longer need a reference field holding itself
    - RefCountMessage: no longer uses AtomicInteger, but 
AtomicIntegerFieldUpdater

----


> Reduce memory footprint and allocations of QueueImpl
> ----------------------------------------------------
>
>                 Key: ARTEMIS-1772
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1772
>             Project: ActiveMQ Artemis
>          Issue Type: New Feature
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Major
>
> Each message referenced into QueueImpl is using Atomic* and boxed types that 
> could be turned into primitive types, reducing the number of allocations and 
> increasing the precision of the memory footprint estimation.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to