MagazineGroup() — netty Function Reference
Architecture documentation for the MagazineGroup() function in AdaptivePoolingAllocator.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD 02a76ead_33d8_cfe3_4978_8b372c856ad7["MagazineGroup()"] 5c7d3ca5_8d2c_76d2_0628_1864f492365d["MagazineGroup"] 02a76ead_33d8_cfe3_4978_8b372c856ad7 -->|defined in| 5c7d3ca5_8d2c_76d2_0628_1864f492365d cc6da6d1_4687_b652_19f1_566a14b3c36b["AdaptivePoolingAllocator()"] cc6da6d1_4687_b652_19f1_566a14b3c36b -->|calls| 02a76ead_33d8_cfe3_4978_8b372c856ad7 b683fc3d_12e9_93d8_78a7_c37649de3767["createMagazineGroupSizeClasses()"] b683fc3d_12e9_93d8_78a7_c37649de3767 -->|calls| 02a76ead_33d8_cfe3_4978_8b372c856ad7 41097f8a_1d62_d8d9_681a_240be71758b9["Magazine()"] 02a76ead_33d8_cfe3_4978_8b372c856ad7 -->|calls| 41097f8a_1d62_d8d9_681a_240be71758b9 style 02a76ead_33d8_cfe3_4978_8b372c856ad7 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java lines 369–391
MagazineGroup(AdaptivePoolingAllocator allocator,
ChunkAllocator chunkAllocator,
ChunkManagementStrategy chunkManagementStrategy,
boolean isThreadLocal) {
this.allocator = allocator;
this.chunkAllocator = chunkAllocator;
this.chunkManagementStrategy = chunkManagementStrategy;
chunkCache = chunkManagementStrategy.createChunkCache(isThreadLocal);
if (isThreadLocal) {
ownerThread = Thread.currentThread();
magazineExpandLock = null;
threadLocalMagazine = new Magazine(this, false, chunkManagementStrategy.createController(this));
} else {
ownerThread = null;
magazineExpandLock = new StampedLock();
threadLocalMagazine = null;
Magazine[] mags = new Magazine[INITIAL_MAGAZINES];
for (int i = 0; i < mags.length; i++) {
mags[i] = new Magazine(this, true, chunkManagementStrategy.createController(this));
}
magazines = mags;
}
}
Domain
Subdomains
Calls
Source
Frequently Asked Questions
What does MagazineGroup() do?
MagazineGroup() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java.
Where is MagazineGroup() defined?
MagazineGroup() is defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java at line 369.
What does MagazineGroup() call?
MagazineGroup() calls 1 function(s): Magazine.
What calls MagazineGroup()?
MagazineGroup() is called by 2 function(s): AdaptivePoolingAllocator, createMagazineGroupSizeClasses.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free