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

Dmitry Werner updated IGNITE-29007:
-----------------------------------
    Description: 
The message serialization rework (umbrella IGNITE-25490, "new ser/der scheme") 
converted the partition sub-maps of GridDhtPartitionsFullMessage from 
{{@GridDirectTransient}} live objects paired with a compact serialized byte[] 
twin (which was GC-able after marshalling) into first-class @Order Message 
fields whose *live boxed object is now the permanently retained state.*

Suggested fix:
Clear/null partsSizes on GridDhtPartitionsFullMessage once it is stored into 
FinishState for history (they are not needed after the exchange completes).

See the details in [https://github.com/apache/ignite/issues/13314]

  was:
The message serialization rework (umbrella IGNITE-25490, "new ser/der scheme") 
converted the partition sub-maps of GridDhtPartitionsFullMessage from 
{{@GridDirectTransient}} live objects paired with a compact serialized byte[] 
twin (which was GC-able after marshalling) into first-class @Order Message 
fields whose *live boxed object is now the permanently retained state.*

See the details in [https://github.com/apache/ignite/issues/13314]


> GridDhtPartitionsFullMessage.cleanUp() does not clear partsSizes
> ----------------------------------------------------------------
>
>                 Key: IGNITE-29007
>                 URL: https://issues.apache.org/jira/browse/IGNITE-29007
>             Project: Ignite
>          Issue Type: Task
>    Affects Versions: 2.18
>            Reporter: Dmitry Werner
>            Assignee: Dmitry Werner
>            Priority: Major
>
> The message serialization rework (umbrella IGNITE-25490, "new ser/der 
> scheme") converted the partition sub-maps of GridDhtPartitionsFullMessage 
> from {{@GridDirectTransient}} live objects paired with a compact serialized 
> byte[] twin (which was GC-able after marshalling) into first-class @Order 
> Message fields whose *live boxed object is now the permanently retained 
> state.*
> Suggested fix:
> Clear/null partsSizes on GridDhtPartitionsFullMessage once it is stored into 
> FinishState for history (they are not needed after the exchange completes).
> See the details in [https://github.com/apache/ignite/issues/13314]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to