You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Clebert Suconic (Jira)" <ji...@apache.org> on 2020/01/10 17:40:03 UTC
[jira] [Closed] (ARTEMIS-2584) Optimize PageTransactionInfoImpl
in-memory size
[ https://issues.apache.org/jira/browse/ARTEMIS-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Clebert Suconic closed ARTEMIS-2584.
------------------------------------
> 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
> Fix For: 2.11.0
>
> Time Spent: 20m
> 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)