getNextReleaseIndex() — netty Function Reference
Architecture documentation for the getNextReleaseIndex() function in ByteBufAllocatorAllocPatternBenchmark.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD bbe06704_584b_9c24_dc13_4fce32d179d4["getNextReleaseIndex()"] 2b9d2c55_b3ab_2241_3c94_2c28d1742399["AllocationPatternState"] bbe06704_584b_9c24_dc13_4fce32d179d4 -->|defined in| 2b9d2c55_b3ab_2241_3c94_2c28d1742399 fe84fc40_3a97_c97a_73cb_2217baa430ed["performDirectAllocation()"] fe84fc40_3a97_c97a_73cb_2217baa430ed -->|calls| bbe06704_584b_9c24_dc13_4fce32d179d4 26bf866c_3b1b_fbfe_7ea6_9d3c0dcb9920["performHeapAllocation()"] 26bf866c_3b1b_fbfe_7ea6_9d3c0dcb9920 -->|calls| bbe06704_584b_9c24_dc13_4fce32d179d4 style bbe06704_584b_9c24_dc13_4fce32d179d4 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorAllocPatternBenchmark.java lines 105–109
private int getNextReleaseIndex() {
int index = nextReleaseIndex;
nextReleaseIndex = (nextReleaseIndex + 1) & (releaseIndexes.length - 1);
return releaseIndexes[index];
}
Domain
Subdomains
Defined In
Source
Frequently Asked Questions
What does getNextReleaseIndex() do?
getNextReleaseIndex() is a function in the netty codebase, defined in microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorAllocPatternBenchmark.java.
Where is getNextReleaseIndex() defined?
getNextReleaseIndex() is defined in microbench/src/main/java/io/netty/microbench/buffer/ByteBufAllocatorAllocPatternBenchmark.java at line 105.
What calls getNextReleaseIndex()?
getNextReleaseIndex() is called by 2 function(s): performDirectAllocation, performHeapAllocation.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free