[
https://issues.apache.org/jira/browse/HDDS-9295?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDDS-9295:
-----------------------------
Description:
CodecBuffer overrides the finalize() method for leak detection. It turns out
causing a much longer GC time. (Thanks [~duongnguyen] for finding it out.)
This JIRA is to change CodecBuffer not to override finalize(). In the test, we
will create a subclass to override CodecBuffer for leak detection.
> Avoid overriding finalize() in CodecBuffer
> ------------------------------------------
>
> Key: HDDS-9295
> URL: https://issues.apache.org/jira/browse/HDDS-9295
> Project: Apache Ozone
> Issue Type: Improvement
> Components: db
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
>
> CodecBuffer overrides the finalize() method for leak detection. It turns
> out causing a much longer GC time. (Thanks [~duongnguyen] for finding it
> out.)
> This JIRA is to change CodecBuffer not to override finalize(). In the test,
> we will create a subclass to override CodecBuffer for leak detection.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]