You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2021/02/03 16:22:01 UTC

[jira] [Work logged] (ARTEMIS-3050) Reduce PagedReferenceImpl memory footprint

     [ https://issues.apache.org/jira/browse/ARTEMIS-3050?focusedWorklogId=547098&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-547098 ]

ASF GitHub Bot logged work on ARTEMIS-3050:
-------------------------------------------

                Author: ASF GitHub Bot
            Created on: 03/Feb/21 16:21
            Start Date: 03/Feb/21 16:21
    Worklog Time Spent: 10m 
      Work Description: clebertsuconic commented on pull request #3397:
URL: https://github.com/apache/activemq-artemis/pull/3397#issuecomment-772633185


   lets postpone this PR.. and think about the WeakREference on PagedReference
   
   perhaps this will be ok, as the messages will be sent through the LInkedList on Queue in certain occasions. I guess if we make the WeakReference on PagedReference a strong reference, it willl probably be ok.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Issue Time Tracking
-------------------

    Worklog Id:     (was: 547098)
    Time Spent: 1.5h  (was: 1h 20m)

> Reduce PagedReferenceImpl memory footprint
> ------------------------------------------
>
>                 Key: ARTEMIS-3050
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-3050
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>            Reporter: Francesco Nigro
>            Assignee: Francesco Nigro
>            Priority: Trivial
>          Time Spent: 1.5h
>  Remaining Estimate: 0h
>
> PagedReferenceImpl is never being used as QueueImpl node, hence it doesn't make sense for it to extends the node class, saving few bytes of memory footprint eg a COOPS 64 bit JVM get 88 bytes vs 104 bytes -> ~18% saved memory for each message ref with no semantic impacts.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)