Home / Function/ IntStack() — netty Function Reference

IntStack() — netty Function Reference

Architecture documentation for the IntStack() function in AdaptivePoolingAllocator.java from the netty codebase.

Function java Buffer Telemetry calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  b85e8f70_6197_62eb_5250_3fc80ff945d3["IntStack()"]
  13987726_678e_8e67_f858_dfa08f4414d6["SizeClassChunkController"]
  b85e8f70_6197_62eb_5250_3fc80ff945d3 -->|defined in| 13987726_678e_8e67_f858_dfa08f4414d6
  ea2563c9_8bd1_4d3b_0cda_01e263708ce2["IntStack()"]
  ea2563c9_8bd1_4d3b_0cda_01e263708ce2 -->|calls| b85e8f70_6197_62eb_5250_3fc80ff945d3
  ea2563c9_8bd1_4d3b_0cda_01e263708ce2["IntStack()"]
  b85e8f70_6197_62eb_5250_3fc80ff945d3 -->|calls| ea2563c9_8bd1_4d3b_0cda_01e263708ce2
  style b85e8f70_6197_62eb_5250_3fc80ff945d3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java lines 715–724

        private IntStack createLocalFreeList() {
            final int segmentsCount = chunkSize / segmentSize;
            int segmentOffset = chunkSize;
            int[] offsets = new int[segmentsCount];
            for (int i = 0; i < segmentsCount; i++) {
                segmentOffset -= segmentSize;
                offsets[i] = segmentOffset;
            }
            return new IntStack(offsets);
        }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does IntStack() do?
IntStack() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java.
Where is IntStack() defined?
IntStack() is defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java at line 715.
What does IntStack() call?
IntStack() calls 1 function(s): IntStack.
What calls IntStack()?
IntStack() is called by 1 function(s): IntStack.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free