ResourceLeakDetectorBenchmark Class — netty Architecture
Architecture documentation for the ResourceLeakDetectorBenchmark class in ResourceLeakDetectorBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 50c04b6a_07ca_57d1_c0aa_4b75d23f8d4e["ResourceLeakDetectorBenchmark"] 080da728_2e5a_a41c_ff50_7b018f41aa65["ResourceLeakDetectorBenchmark.java"] 50c04b6a_07ca_57d1_c0aa_4b75d23f8d4e -->|defined in| 080da728_2e5a_a41c_ff50_7b018f41aa65 9c6b015f_bad9_2977_5e56_f88f34b00e26["setup()"] 50c04b6a_07ca_57d1_c0aa_4b75d23f8d4e -->|method| 9c6b015f_bad9_2977_5e56_f88f34b00e26 5009ed67_d02a_6930_95ca_78542b1d0f79["Object()"] 50c04b6a_07ca_57d1_c0aa_4b75d23f8d4e -->|method| 5009ed67_d02a_6930_95ca_78542b1d0f79
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/util/ResourceLeakDetectorBenchmark.java lines 22–36
public class ResourceLeakDetectorBenchmark extends AbstractMicrobenchmark {
private static final Object DUMMY = new Object();
private ResourceLeakDetector<Object> detector;
@Setup
public void setup() {
detector = new ResourceLeakDetector<Object>(getClass(), 128, Long.MAX_VALUE);
}
@Benchmark
public Object open() {
return detector.open(DUMMY);
}
}
Source
Frequently Asked Questions
What is the ResourceLeakDetectorBenchmark class?
ResourceLeakDetectorBenchmark is a class in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/util/ResourceLeakDetectorBenchmark.java.
Where is ResourceLeakDetectorBenchmark defined?
ResourceLeakDetectorBenchmark is defined in microbench/src/main/java/io/netty/microbench/util/ResourceLeakDetectorBenchmark.java at line 22.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free