Home / Function/ reportTracedLeak() — netty Function Reference

reportTracedLeak() — netty Function Reference

Architecture documentation for the reportTracedLeak() function in ResourceLeakDetectorTest.java from the netty codebase.

Function java Buffer Search calls 2 called by 1

Entity Profile

Dependency Diagram

graph TD
  d4f75349_68f5_8fe9_391c_0b8b559f1ec7["reportTracedLeak()"]
  a6efcbd2_cdec_4d5b_3942_fb284b145e82["CreationRecordLeakDetector"]
  d4f75349_68f5_8fe9_391c_0b8b559f1ec7 -->|defined in| a6efcbd2_cdec_4d5b_3942_fb284b145e82
  c5c33640_d23f_bf0a_9040_cf8e628a8fda["reportTracedLeak()"]
  c5c33640_d23f_bf0a_9040_cf8e628a8fda -->|calls| d4f75349_68f5_8fe9_391c_0b8b559f1ec7
  c5c33640_d23f_bf0a_9040_cf8e628a8fda["reportTracedLeak()"]
  d4f75349_68f5_8fe9_391c_0b8b559f1ec7 -->|calls| c5c33640_d23f_bf0a_9040_cf8e628a8fda
  208411f5_8977_c7ea_4030_bb76fedeb300["reportError()"]
  d4f75349_68f5_8fe9_391c_0b8b559f1ec7 -->|calls| 208411f5_8977_c7ea_4030_bb76fedeb300
  style d4f75349_68f5_8fe9_391c_0b8b559f1ec7 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/test/java/io/netty/util/ResourceLeakDetectorTest.java lines 272–278

        @Override
        protected void reportTracedLeak(String resourceType, String records) {
            if (!records.contains(canaryString)) {
                reportError(new AssertionError("Leak records did not contain canary string"));
            }
            leaksFound.incrementAndGet();
        }

Domain

Subdomains

Called By

Frequently Asked Questions

What does reportTracedLeak() do?
reportTracedLeak() is a function in the netty codebase, defined in common/src/test/java/io/netty/util/ResourceLeakDetectorTest.java.
Where is reportTracedLeak() defined?
reportTracedLeak() is defined in common/src/test/java/io/netty/util/ResourceLeakDetectorTest.java at line 272.
What does reportTracedLeak() call?
reportTracedLeak() calls 2 function(s): reportError, reportTracedLeak.
What calls reportTracedLeak()?
reportTracedLeak() is called by 1 function(s): reportTracedLeak.

Analyze Your Own Codebase

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

Try Supermodel Free