allocateArray() — netty Function Reference
Architecture documentation for the allocateArray() function in UnpooledByteBufAllocator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 7fe91473_e539_4684_c2bb_100b00a72d23["allocateArray()"] 8812e0ee_236a_725e_105a_895da5075478["InstrumentedUnpooledUnsafeHeapByteBuf"] 7fe91473_e539_4684_c2bb_100b00a72d23 -->|defined in| 8812e0ee_236a_725e_105a_895da5075478 0a8eb85d_6ed9_1d4a_f4ce_a7b196f65500["allocateArray()"] 0a8eb85d_6ed9_1d4a_f4ce_a7b196f65500 -->|calls| 7fe91473_e539_4684_c2bb_100b00a72d23 0a8eb85d_6ed9_1d4a_f4ce_a7b196f65500["allocateArray()"] 7fe91473_e539_4684_c2bb_100b00a72d23 -->|calls| 0a8eb85d_6ed9_1d4a_f4ce_a7b196f65500 a8161e32_05f2_2814_d64d_f8a57a64cc40["incrementHeap()"] 7fe91473_e539_4684_c2bb_100b00a72d23 -->|calls| a8161e32_05f2_2814_d64d_f8a57a64cc40 style 7fe91473_e539_4684_c2bb_100b00a72d23 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/UnpooledByteBufAllocator.java lines 143–148
@Override
protected byte[] allocateArray(int initialCapacity) {
byte[] bytes = super.allocateArray(initialCapacity);
((UnpooledByteBufAllocator) alloc()).incrementHeap(bytes.length);
return bytes;
}
Domain
Subdomains
Called By
Source
Frequently Asked Questions
What does allocateArray() do?
allocateArray() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/UnpooledByteBufAllocator.java.
Where is allocateArray() defined?
allocateArray() is defined in buffer/src/main/java/io/netty/buffer/UnpooledByteBufAllocator.java at line 143.
What does allocateArray() call?
allocateArray() calls 2 function(s): allocateArray, incrementHeap.
What calls allocateArray()?
allocateArray() is called by 1 function(s): allocateArray.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free