apurtell commented on code in PR #4592:
URL: https://github.com/apache/hbase/pull/4592#discussion_r912268139


##########
hbase-common/src/main/java/org/apache/hadoop/hbase/nio/RefCnt.java:
##########
@@ -31,7 +34,10 @@
 @InterfaceAudience.Private
 public class RefCnt extends AbstractReferenceCounted {
 
-  private Recycler recycler = ByteBuffAllocator.NONE;
+  private static final ResourceLeakDetector<RefCnt> detector =

Review Comment:
   ... and we get a single global control over this and netty itself via 
`-Dorg.apache.hbase.thirdparty.io.netty.leakDetection.level` . All good here.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to