reachabilityFence0() — netty Function Reference
Architecture documentation for the reachabilityFence0() function in ResourceLeakDetector.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD b8a1d999_7919_a586_f28b_1b2513c39fe3["reachabilityFence0()"] 0693d07b_5a78_e1d2_0694_de182ea7e0a6["DefaultResourceLeak"] b8a1d999_7919_a586_f28b_1b2513c39fe3 -->|defined in| 0693d07b_5a78_e1d2_0694_de182ea7e0a6 19933ffe_052a_9a22_2cf8_d1cc46f96c9a["close()"] 19933ffe_052a_9a22_2cf8_d1cc46f96c9a -->|calls| b8a1d999_7919_a586_f28b_1b2513c39fe3 style b8a1d999_7919_a586_f28b_1b2513c39fe3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/ResourceLeakDetector.java lines 560–567
@SuppressWarnings({"SynchronizationOnLocalVariableOrMethodParameter", "EmptySynchronizedStatement"})
private static void reachabilityFence0(Object ref) {
if (ref != null) {
synchronized (ref) {
// Empty synchronized is ok: https://stackoverflow.com/a/31933260/1151521
}
}
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does reachabilityFence0() do?
reachabilityFence0() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/ResourceLeakDetector.java.
Where is reachabilityFence0() defined?
reachabilityFence0() is defined in common/src/main/java/io/netty/util/ResourceLeakDetector.java at line 560.
What calls reachabilityFence0()?
reachabilityFence0() is called by 1 function(s): close.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free