You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@activemq.apache.org by "Francesco Nigro (Jira)" <ji...@apache.org> on 2021/11/16 14:25:00 UTC
[jira] [Work started] (ARTEMIS-3577) Save Core msg re-encoding due to msg copy
[ https://issues.apache.org/jira/browse/ARTEMIS-3577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Work on ARTEMIS-3577 started by Francesco Nigro.
------------------------------------------------
> Save Core msg re-encoding due to msg copy
> -----------------------------------------
>
> Key: ARTEMIS-3577
> URL: https://issues.apache.org/jira/browse/ARTEMIS-3577
> Project: ActiveMQ Artemis
> Issue Type: Bug
> Reporter: Francesco Nigro
> Assignee: Francesco Nigro
> Priority: Minor
>
> ARTEMIS-3021 has introduced a more precise Core message memory estimation, but checking the encoded size after copied (to detect if msg should be treated as large) cause the msg to be encoded: any subsequent change on the msg eg changing its address, would cause the msg to be re-encoded.
> This unnecessary re-encoding could be saved by performing address modification before checking the encoded size.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)