reallocate() — netty Function Reference
Architecture documentation for the reallocate() function in AdaptivePoolingAllocator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 1ffe8f20_ccfd_e36a_bc9a_a6eac8ef4ccf["reallocate()"] 9bc56cad_0c0c_4043_82ba_cb42dfea6004["AdaptivePoolingAllocator"] 1ffe8f20_ccfd_e36a_bc9a_a6eac8ef4ccf -->|defined in| 9bc56cad_0c0c_4043_82ba_cb42dfea6004 8d275038_0e05_3918_af0f_1e8f488cf0f2["Chunk()"] 8d275038_0e05_3918_af0f_1e8f488cf0f2 -->|calls| 1ffe8f20_ccfd_e36a_bc9a_a6eac8ef4ccf 9928adc3_c1c7_6145_dd14_c9c1e6101da8["ByteBuf()"] 9928adc3_c1c7_6145_dd14_c9c1e6101da8 -->|calls| 1ffe8f20_ccfd_e36a_bc9a_a6eac8ef4ccf b550a3a7_b98a_e36b_d58d_413aa6587ed4["allocate()"] 1ffe8f20_ccfd_e36a_bc9a_a6eac8ef4ccf -->|calls| b550a3a7_b98a_e36b_d58d_413aa6587ed4 style 1ffe8f20_ccfd_e36a_bc9a_a6eac8ef4ccf fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java lines 332–335
void reallocate(int size, int maxCapacity, AdaptiveByteBuf into) {
AdaptiveByteBuf result = allocate(size, maxCapacity, Thread.currentThread(), into);
assert result == into: "Re-allocation created separate buffer instance";
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does reallocate() do?
reallocate() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java.
Where is reallocate() defined?
reallocate() is defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java at line 332.
What does reallocate() call?
reallocate() calls 1 function(s): allocate.
What calls reallocate()?
reallocate() is called by 2 function(s): ByteBuf, Chunk.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free