[ 
https://issues.apache.org/jira/browse/ARTEMIS-3577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Francesco Nigro reassigned ARTEMIS-3577:
----------------------------------------

       Assignee: Francesco Nigro
    Description: 
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.

> 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)

Reply via email to