defaultPooledDirectAllocAndFree() — netty Function Reference
Architecture documentation for the defaultPooledDirectAllocAndFree() function in ByteBufAllocatorBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 00a78ca8_4fad_daaf_ec78_ade735637ba7["defaultPooledDirectAllocAndFree()"] b790eb42_4bb8_2c60_030a_589908a419ad["ByteBufAllocatorBenchmark"] 00a78ca8_4fad_daaf_ec78_ade735637ba7 -->|defined in| b790eb42_4bb8_2c60_030a_589908a419ad dee07766_8a73_7f50_0bd7_3e8aa75c5c54["nextIndex()"] 00a78ca8_4fad_daaf_ec78_ade735637ba7 -->|calls| dee07766_8a73_7f50_0bd7_3e8aa75c5c54 style 00a78ca8_4fad_daaf_ec78_ade735637ba7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorBenchmark.java lines 152–160
@Benchmark
public void defaultPooledDirectAllocAndFree() {
int idx = nextIndex();
ByteBuf oldBuf = defaultPooledDirectBuffers[idx];
if (oldBuf != null) {
oldBuf.release();
}
defaultPooledDirectBuffers[idx] = PooledByteBufAllocator.DEFAULT.directBuffer(size);
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does defaultPooledDirectAllocAndFree() do?
defaultPooledDirectAllocAndFree() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorBenchmark.java.
Where is defaultPooledDirectAllocAndFree() defined?
defaultPooledDirectAllocAndFree() is defined in microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorBenchmark.java at line 152.
What does defaultPooledDirectAllocAndFree() call?
defaultPooledDirectAllocAndFree() calls 1 function(s): nextIndex.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free