deallocate() — netty Function Reference
Architecture documentation for the deallocate() function in CompositeByteBuf.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 4900d11b_95bd_aeb8_3e6b_4c955052853e["deallocate()"] 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6["CompositeByteBuf"] 4900d11b_95bd_aeb8_3e6b_4c955052853e -->|defined in| 6b8e4d93_5aed_4ff7_ccdd_9c021b0fe7d6 eb3f4ddf_0801_65e8_e5f7_a81b73fef7a2["free()"] 4900d11b_95bd_aeb8_3e6b_4c955052853e -->|calls| eb3f4ddf_0801_65e8_e5f7_a81b73fef7a2 style 4900d11b_95bd_aeb8_3e6b_4c955052853e fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java lines 2278–2290
@Override
protected void deallocate() {
if (freed) {
return;
}
freed = true;
// We're not using foreach to avoid creating an iterator.
// see https://github.com/netty/netty/issues/2642
for (int i = 0, size = componentCount; i < size; i++) {
components[i].free();
}
}
Domain
Subdomains
Calls
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/CompositeByteBuf.java.
Where is deallocate() defined?
deallocate() is defined in buffer/src/main/java/io/netty/buffer/CompositeByteBuf.java at line 2278.
What does deallocate() call?
deallocate() calls 1 function(s): free.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free