numPinnedBytes() — netty Function Reference
Architecture documentation for the numPinnedBytes() function in PoolArena.java from the netty codebase.
Entity Profile
Dependency Diagram
graph TD e85053fc_c42f_dce7_4813_8d243142d406["numPinnedBytes()"] de926ba9_75e3_c416_27fc_3623234991a8["PoolArena"] e85053fc_c42f_dce7_4813_8d243142d406 -->|defined in| de926ba9_75e3_c416_27fc_3623234991a8 style e85053fc_c42f_dce7_4813_8d243142d406 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
buffer/src/main/java/io/netty/buffer/PoolArena.java lines 565–573
public long numPinnedBytes() {
long val = activeBytesHuge.sum(); // Huge chunks are exact-sized for the buffers they were allocated to.
for (int i = 0; i < chunkListMetrics.size(); i++) {
for (PoolChunkMetric m: chunkListMetrics.get(i)) {
val += ((PoolChunk<?>) m).pinnedBytes();
}
}
return max(0, val);
}
Domain
Subdomains
Source
Frequently Asked Questions
What does numPinnedBytes() do?
numPinnedBytes() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolArena.java.
Where is numPinnedBytes() defined?
numPinnedBytes() is defined in buffer/src/main/java/io/netty/buffer/PoolArena.java at line 565.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free