[
https://issues.apache.org/jira/browse/HDDS-14154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Attila Doroszlai updated HDDS-14154:
------------------------------------
Summary: Replace ByteArrayCodec with CodecBufferCodec (was: Phase out
ByteArrayCodec usage from code base)
> Replace ByteArrayCodec with CodecBufferCodec
> --------------------------------------------
>
> 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: [email protected]
For additional commands, e-mail: [email protected]