deallocate() — netty Function Reference
Architecture documentation for the deallocate() function in PooledByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 85bb3ea8_6fe7_8b0e_da8f_203ff3df3fac["deallocate()"] 49d00ede_f018_5e8f_42f9_08fdd974fe00["PooledByteBuf"] 85bb3ea8_6fe7_8b0e_da8f_203ff3df3fac -->|defined in| 49d00ede_f018_5e8f_42f9_08fdd974fe00 style 85bb3ea8_6fe7_8b0e_da8f_203ff3df3fac fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/PooledByteBuf.java lines 173–186
@Override
protected final void deallocate() {
if (handle >= 0) {
PooledByteBufAllocator.onDeallocateBuffer(this);
final long handle = this.handle;
this.handle = -1;
memory = null;
chunk.arena.free(chunk, tmpNioBuf, handle, maxLength, cache);
tmpNioBuf = null;
chunk = null;
cache = null;
this.recyclerHandle.unguardedRecycle(this);
}
}
Domain
Subdomains
Source
Frequently Asked Questions
What does deallocate() do?
deallocate() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PooledByteBuf.java.
Where is deallocate() defined?
deallocate() is defined in buffer/src/main/java/io/netty/buffer/PooledByteBuf.java at line 173.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free