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 subversion and git services (Jira)" <ji...@apache.org> on 2020/01/08 17:40:00 UTC
[jira] [Commented] (ARTEMIS-2584) Optimize PageTransactionInfoImpl
in-memory size
[ https://issues.apache.org/jira/browse/ARTEMIS-2584?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17010861#comment-17010861 ]
ASF subversion and git services commented on ARTEMIS-2584:
----------------------------------------------------------
Commit 0e6a1dee47fc15a3998a1b2e23c4885c5f90e76d in activemq-artemis's branch refs/heads/master from Wei Yang
[ https://gitbox.apache.org/repos/asf?p=activemq-artemis.git;h=0e6a1de ]
ARTEMIS-2584 Optimize PageTransactionInfoImpl in-memory size
> 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)