Home / Function/ reportUntracedLeak() — netty Function Reference

reportUntracedLeak() — netty Function Reference

Architecture documentation for the reportUntracedLeak() function in ResourceLeakDetector.java from the netty codebase.

Function java CommonUtil Concurrent calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  a55afc47_a23a_76cf_3401_5ccab38abea9["reportUntracedLeak()"]
  f4ad5acd_fee3_2377_9c2f_bc298798ad25["ResourceLeakDetector"]
  a55afc47_a23a_76cf_3401_5ccab38abea9 -->|defined in| f4ad5acd_fee3_2377_9c2f_bc298798ad25
  c749ac7c_d251_baf5_8030_89fe234647d9["reportLeak()"]
  c749ac7c_d251_baf5_8030_89fe234647d9 -->|calls| a55afc47_a23a_76cf_3401_5ccab38abea9
  5b0af8ca_5190_33cc_31b6_4515c8bf019e["setLevel()"]
  a55afc47_a23a_76cf_3401_5ccab38abea9 -->|calls| 5b0af8ca_5190_33cc_31b6_4515c8bf019e
  style a55afc47_a23a_76cf_3401_5ccab38abea9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/ResourceLeakDetector.java lines 359–366

    protected void reportUntracedLeak(String resourceType) {
        logger.error("LEAK: {}.release() was not called before it's garbage-collected. " +
                "Enable advanced leak reporting to find out where the leak occurred. " +
                "To enable advanced leak reporting, " +
                "specify the JVM option '-D{}={}' or call {}.setLevel() " +
                "See https://netty.io/wiki/reference-counted-objects.html for more information.",
                resourceType, PROP_LEVEL, Level.ADVANCED.name().toLowerCase(), simpleClassName(this));
    }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does reportUntracedLeak() do?
reportUntracedLeak() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/ResourceLeakDetector.java.
Where is reportUntracedLeak() defined?
reportUntracedLeak() is defined in common/src/main/java/io/netty/util/ResourceLeakDetector.java at line 359.
What does reportUntracedLeak() call?
reportUntracedLeak() calls 1 function(s): setLevel.
What calls reportUntracedLeak()?
reportUntracedLeak() is called by 1 function(s): reportLeak.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free