Sergey Korotkov created IGNITE-23514:
----------------------------------------

             Summary: Remove excessive array copying from BinaryWriterExImpl
                 Key: IGNITE-23514
                 URL: https://issues.apache.org/jira/browse/IGNITE-23514
             Project: Ignite
          Issue Type: Task
            Reporter: Sergey Korotkov


In some cases it's not needed to create a copy of byte array created via the 
BinaryWriterExImpl.

Say, it's not needed in the Thin JDBC driver before sending of the outcoming 
message.  See the JdbcThinTcpIo::sendRequestRaw().  It's sufficient to use just 
the underlining array as sych  in this case which reduce the heap memory usage.

***

Other such places should be considered and fixed if needed.



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

Reply via email to