You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Swaminathan Balachandran (Jira)" <ji...@apache.org> on 2025/12/11 15:57:00 UTC

[jira] [Updated] (HDDS-14154) Phase out ByteArrayCodec usage from code base

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

Swaminathan Balachandran updated HDDS-14154:
--------------------------------------------
    Summary: Phase out ByteArrayCodec usage from code base  (was: Phase out ByteArrayCodec usage from CodeBase)

> Phase out ByteArrayCodec usage from code base
> ---------------------------------------------
>
>                 Key: HDDS-14154
>                 URL: https://issues.apache.org/jira/browse/HDDS-14154
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Swaminathan Balachandran
>            Priority: Major
>
> Currently all of the implementations of Codec classes support CodecBuffers and some flows in the code base use ByteArrayCodec which is inefficient when used with a table iterator since each value would allocate a new byte array adding unnecessary GC overhead on the JVM. In such cases CodecBufferCodec can be used which would avoid this allocation.



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org