testFastThreadLocalThreadWithoutCleanupFastThreadLocals() — netty Function Reference
Architecture documentation for the testFastThreadLocalThreadWithoutCleanupFastThreadLocals() function in AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 44b2ed69_4c4b_039c_867e_83e4348e77c1["testFastThreadLocalThreadWithoutCleanupFastThreadLocals()"] 1220e9cf_ffbb_5ac3_1bfe_202607076d2d["AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest"] 44b2ed69_4c4b_039c_867e_83e4348e77c1 -->|defined in| 1220e9cf_ffbb_5ac3_1bfe_202607076d2d 713972fe_68a2_3027_38c6_b39bf61a57a1["run()"] 44b2ed69_4c4b_039c_867e_83e4348e77c1 -->|calls| 713972fe_68a2_3027_38c6_b39bf61a57a1 6d81e738_860d_4da1_e906_44a8bdf1048e["CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals()"] 44b2ed69_4c4b_039c_867e_83e4348e77c1 -->|calls| 6d81e738_860d_4da1_e906_44a8bdf1048e style 44b2ed69_4c4b_039c_867e_83e4348e77c1 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/test/java/io/netty/buffer/AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java lines 38–56
@Test
void testFastThreadLocalThreadWithoutCleanupFastThreadLocals() throws InterruptedException {
final AtomicReference<Throwable> throwable = new AtomicReference<Throwable>();
Runnable task = new Runnable() {
@Override
public void run() {
try {
AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.super.testUsedHeapMemory();
AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.super.testUsedDirectMemory();
} catch (Throwable e) {
throwable.set(e);
}
}
};
Thread customizefastThreadLocalThread = new CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals(task);
customizefastThreadLocalThread.start();
customizefastThreadLocalThread.join();
assertNull(throwable.get());
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does testFastThreadLocalThreadWithoutCleanupFastThreadLocals() do?
testFastThreadLocalThreadWithoutCleanupFastThreadLocals() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java.
Where is testFastThreadLocalThreadWithoutCleanupFastThreadLocals() defined?
testFastThreadLocalThreadWithoutCleanupFastThreadLocals() is defined in buffer/src/test/java/io/netty/buffer/AdaptiveByteBufAllocatorUseCacheForNonEventLoopThreadsTest.java at line 38.
What does testFastThreadLocalThreadWithoutCleanupFastThreadLocals() call?
testFastThreadLocalThreadWithoutCleanupFastThreadLocals() calls 2 function(s): CustomizeFastThreadLocalThreadWithoutCleanupFastThreadLocals, run.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free