releaseSegmentOffsetIntoFreeList() — netty Function Reference
Architecture documentation for the releaseSegmentOffsetIntoFreeList() function in AdaptivePoolingAllocator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 53eff05b_d707_ed78_a7da_998e3c983cab["releaseSegmentOffsetIntoFreeList()"] 0786b48a_6931_326c_822b_73a96aca1827["SizeClassedChunk"] 53eff05b_d707_ed78_a7da_998e3c983cab -->|defined in| 0786b48a_6931_326c_822b_73a96aca1827 f1f91104_8721_329c_3138_235bb4f03863["releaseSegment()"] f1f91104_8721_329c_3138_235bb4f03863 -->|calls| 53eff05b_d707_ed78_a7da_998e3c983cab d154e723_5f56_e12e_660c_4adeda4715dd["push()"] 53eff05b_d707_ed78_a7da_998e3c983cab -->|calls| d154e723_5f56_e12e_660c_4adeda4715dd style 53eff05b_d707_ed78_a7da_998e3c983cab fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java lines 1339–1347
private void releaseSegmentOffsetIntoFreeList(int startIndex) {
IntStack localFreeList = this.localFreeList;
if (localFreeList != null && Thread.currentThread() == ownerThread) {
localFreeList.push(startIndex);
} else {
boolean segmentReturned = externalFreeList.offer(startIndex);
assert segmentReturned : "Unable to return segment " + startIndex + " to free list";
}
}
Domain
Subdomains
Calls
Called By
Source
Frequently Asked Questions
What does releaseSegmentOffsetIntoFreeList() do?
releaseSegmentOffsetIntoFreeList() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java.
Where is releaseSegmentOffsetIntoFreeList() defined?
releaseSegmentOffsetIntoFreeList() is defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java at line 1339.
What does releaseSegmentOffsetIntoFreeList() call?
releaseSegmentOffsetIntoFreeList() calls 1 function(s): push.
What calls releaseSegmentOffsetIntoFreeList()?
releaseSegmentOffsetIntoFreeList() is called by 1 function(s): releaseSegment.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free