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 2020/01/02 02:12:00 UTC

[jira] [Work logged] (ARTEMIS-2584) Optimize PageTransactionInfoImpl in-memory size

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

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

                Author: ASF GitHub Bot
            Created on: 02/Jan/20 02:11
            Start Date: 02/Jan/20 02:11
    Worklog Time Spent: 10m 
      Work Description: wy96f commented on pull request #2925: ARTEMIS-2584 Optimize PageTransactionInfoImpl in-memory size
URL: https://github.com/apache/activemq-artemis/pull/2925
 
 
   The in-memory size of PageTransactionInfoImpl can be made smaller.
   For numberOfMessages and numberOfPersistentMessages, we can use native int to save object header size, i.e. 2*12=24 bytes if using Compressed oops or 2*16=32 bytes if not.
 
----------------------------------------------------------------
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: 365215)
    Remaining Estimate: 0h
            Time Spent: 10m

> Optimize PageTransactionInfoImpl in-memory size
> -----------------------------------------------
>
>                 Key: ARTEMIS-2584
>                 URL: https://issues.apache.org/jira/browse/ARTEMIS-2584
>             Project: ActiveMQ Artemis
>          Issue Type: Improvement
>          Components: Broker
>    Affects Versions: 2.10.1
>            Reporter: Wei Yang
>            Assignee: Wei Yang
>            Priority: Minor
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> The in-memory size of PageTransactionInfoImpl can be made smaller.
> For numberOfMessages and numberOfPersistentMessages, we can use native int to save object header size, i.e. 2*12=24 bytes if using Compressed oops or 2*16=32 bytes if not.



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