You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Tsz-wo Sze (Jira)" <ji...@apache.org> on 2023/09/15 20:38:00 UTC
[jira] [Updated] (HDDS-9295) Avoid overriding finalize() in CodecBuffer
[ 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org