onDeallocateBuffer() — netty Function Reference
Architecture documentation for the onDeallocateBuffer() function in PooledByteBufAllocator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4236af44_3c4a_fe19_71ed_59f924d610e7["onDeallocateBuffer()"] f5ea31b4_1e4c_94f0_32cf_d4ab3e538b0a["PooledByteBufAllocator"] 4236af44_3c4a_fe19_71ed_59f924d610e7 -->|defined in| f5ea31b4_1e4c_94f0_32cf_d4ab3e538b0a style 4236af44_3c4a_fe19_71ed_59f924d610e7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java lines 816–824
static void onDeallocateBuffer(AbstractByteBuf buf) {
if (PlatformDependent.isJfrEnabled() && FreeBufferEvent.isEventEnabled()) {
FreeBufferEvent event = new FreeBufferEvent();
if (event.shouldCommit()) {
event.fill(buf, PooledByteBufAllocator.class);
event.commit();
}
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does onDeallocateBuffer() do?
onDeallocateBuffer() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java.
Where is onDeallocateBuffer() defined?
onDeallocateBuffer() is defined in buffer/src/main/java/io/netty/buffer/PooledByteBufAllocator.java at line 816.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free