Add some docs for io.netty.leakDetection.acquireAndReleaseOnly. (#11580)
Motivation: We should add some docs / comment to explain what io.netty.leakDetection.acquireAndReleaseOnly is all about. Modifications: Add some comments Result: Fixes https://github.com/netty/netty/issues/11576.
This commit is contained in:
parent
ea932dd706
commit
794c45fd59
@ -35,6 +35,7 @@ import java.nio.charset.Charset;
|
||||
|
||||
final class AdvancedLeakAwareByteBuf extends SimpleLeakAwareByteBuf {
|
||||
|
||||
// If set to true we will only record stacktraces for touch(...), release(...) and retain(...) calls.
|
||||
private static final String PROP_ACQUIRE_AND_RELEASE_ONLY = "io.netty.leakDetection.acquireAndReleaseOnly";
|
||||
private static final boolean ACQUIRE_AND_RELEASE_ONLY;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user