String() — netty Function Reference
Architecture documentation for the String() function in LeakPresenceDetector.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 0a592766_d816_a1e8_cd6e_a61a6f749ce3["String()"] e5f56492_afc9_02be_fa67_aab1a27be49e["LeakCreation"] 0a592766_d816_a1e8_cd6e_a61a6f749ce3 -->|defined in| e5f56492_afc9_02be_fa67_aab1a27be49e e98e1d57_b1eb_b61a_2695_0603cacaff79["inStaticInitializerSlow()"] 0a592766_d816_a1e8_cd6e_a61a6f749ce3 -->|calls| e98e1d57_b1eb_b61a_2695_0603cacaff79 style 0a592766_d816_a1e8_cd6e_a61a6f749ce3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
common/src/main/java/io/netty/util/LeakPresenceDetector.java lines 335–347
@Override
public synchronized String getMessage() {
if (message == null) {
if (inStaticInitializerSlow(getStackTrace())) {
message = "Resource created in static initializer. Please wrap the static initializer in " +
"LeakPresenceDetector.staticInitializer so that this resource is excluded.";
} else {
message = "Resource created outside static initializer on thread '" + thread.getName() + "' (" +
thread.getState() + "), likely leak.";
}
}
return message;
}
Domain
Subdomains
Source
Frequently Asked Questions
What does String() do?
String() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/LeakPresenceDetector.java.
Where is String() defined?
String() is defined in common/src/main/java/io/netty/util/LeakPresenceDetector.java at line 335.
What does String() call?
String() calls 1 function(s): inStaticInitializerSlow.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free