nizhikov opened a new pull request, #13797:
URL: https://github.com/apache/ignite/pull/13797

   https://issues.apache.org/jira/browse/IGNITE-29257
   
   `BinaryReaderExImpl#readObjectDetached` allocated a new 
`BinaryReaderHandlesHolder` on every call to start a fresh handles context for 
the detached object.
   
   The reader itself is a `BinaryReaderHandlesHolder`, so the allocation is 
avoided: the reader's own handles are reset, the detached read runs with the 
reader as the holder, and the previous handles are restored in `finally`. 
`BinaryReaderHandlesHolder#handles()` creates handles lazily, so the detached 
read still starts with an empty context.
   
   No behaviour change.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to