[ 
https://issues.apache.org/jira/browse/HDDS-10000?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17801990#comment-17801990
 ] 

Duong commented on HDDS-10000:
------------------------------

Thanks [~adoroszlai], sounds good to me. It should be some other "Closable" 
interface that doesn't throw an exception. 

> Improve LeakDetector
> --------------------
>
>                 Key: HDDS-10000
>                 URL: https://issues.apache.org/jira/browse/HDDS-10000
>             Project: Apache Ozone
>          Issue Type: Improvement
>    Affects Versions: 1.5.0
>            Reporter: Attila Doroszlai
>            Assignee: Attila Doroszlai
>            Priority: Major
>
> HDDS-9528 introduces a leak detector framework.
> Possible improvements:
>  * -simplify managed objects by moving {{getStackTrace()}} into {{track()}} 
> (need to skip +1 level in {{formatStackTrace()}}- (this is done as part of 
> HDDS-9528)
>  * let {{LeakTracker}} implement -{{AutoCloseable}}- {{Closeable}} and change 
> methods that return it to use the interface
>  * distinguish detectors with the same name by appending a unique integer
>  * split two test cases in {{TestLeakDetector}}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to