You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Wei Yang (Jira)" <ji...@apache.org> on 2020/01/02 02:09:00 UTC

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

Wei Yang created ARTEMIS-2584:
---------------------------------

             Summary: 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


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)