deallocate() — netty Function Reference
Architecture documentation for the deallocate() function in ByteBufUtil.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 03a483f8_d0b7_9d69_421a_195837dc26a3["deallocate()"] 2c26bdf2_7837_18b1_1e0e_046ef3c5ed1b["ThreadLocalUnsafeDirectByteBuf"] 03a483f8_d0b7_9d69_421a_195837dc26a3 -->|defined in| 2c26bdf2_7837_18b1_1e0e_046ef3c5ed1b c478af19_45e4_331d_99a3_e531e0dae028["deallocate()"] c478af19_45e4_331d_99a3_e531e0dae028 -->|calls| 03a483f8_d0b7_9d69_421a_195837dc26a3 c478af19_45e4_331d_99a3_e531e0dae028["deallocate()"] 03a483f8_d0b7_9d69_421a_195837dc26a3 -->|calls| c478af19_45e4_331d_99a3_e531e0dae028 style 03a483f8_d0b7_9d69_421a_195837dc26a3 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/ByteBufUtil.java lines 1725–1733
@Override
protected void deallocate() {
if (capacity() > THREAD_LOCAL_BUFFER_SIZE) {
super.deallocate();
} else {
clear();
handle.unguardedRecycle(this);
}
}
Domain
Subdomains
Calls
Called By
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/ByteBufUtil.java.
Where is deallocate() defined?
deallocate() is defined in buffer/src/main/java/io/netty/buffer/ByteBufUtil.java at line 1725.
What does deallocate() call?
deallocate() calls 1 function(s): deallocate.
What calls deallocate()?
deallocate() is called by 1 function(s): deallocate.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free