track0() — netty Function Reference
Architecture documentation for the track0() function in ResourceLeakDetector.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 6c6ec55a_3aba_b916_b994_11cf7c27c631["track0()"] f4ad5acd_fee3_2377_9c2f_bc298798ad25["ResourceLeakDetector"] 6c6ec55a_3aba_b916_b994_11cf7c27c631 -->|defined in| f4ad5acd_fee3_2377_9c2f_bc298798ad25 4a8647c7_44d2_9333_c91b_685f22e86339["ResourceLeak()"] 4a8647c7_44d2_9333_c91b_685f22e86339 -->|calls| 6c6ec55a_3aba_b916_b994_11cf7c27c631 2716db04_fb06_578d_8d92_e54e2c543427["track()"] 2716db04_fb06_578d_8d92_e54e2c543427 -->|calls| 6c6ec55a_3aba_b916_b994_11cf7c27c631 f46017ba_a88b_6b0e_41c2_c3cbb8d0c4c6["trackForcibly()"] f46017ba_a88b_6b0e_41c2_c3cbb8d0c4c6 -->|calls| 6c6ec55a_3aba_b916_b994_11cf7c27c631 c749ac7c_d251_baf5_8030_89fe234647d9["reportLeak()"] 6c6ec55a_3aba_b916_b994_11cf7c27c631 -->|calls| c749ac7c_d251_baf5_8030_89fe234647d9 style 6c6ec55a_3aba_b916_b994_11cf7c27c631 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/ResourceLeakDetector.java lines 280–289
private DefaultResourceLeak<T> track0(T obj, boolean force) {
Level level = ResourceLeakDetector.level;
if (force ||
level == Level.PARANOID ||
(level != Level.DISABLED && ThreadLocalRandom.current().nextInt(samplingInterval) == 0)) {
reportLeak();
return new DefaultResourceLeak<>(obj, refQueue, allLeaks, getInitialHint(resourceType));
}
return null;
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does track0() do?
track0() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/ResourceLeakDetector.java.
Where is track0() defined?
track0() is defined in common/src/main/java/io/netty/util/ResourceLeakDetector.java at line 280.
What does track0() call?
track0() calls 1 function(s): reportLeak.
What calls track0()?
track0() is called by 3 function(s): ResourceLeak, track, trackForcibly.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free