Home / Function/ numDeallocations() — netty Function Reference

numDeallocations() — netty Function Reference

Architecture documentation for the numDeallocations() function in PoolArena.java from the netty codebase.

Entity Profile

Dependency Diagram

graph TD
  28bde60f_e29b_2d31_1c4b_7d3c6fc117d1["numDeallocations()"]
  de926ba9_75e3_c416_27fc_3623234991a8["PoolArena"]
  28bde60f_e29b_2d31_1c4b_7d3c6fc117d1 -->|defined in| de926ba9_75e3_c416_27fc_3623234991a8
  a9955d3f_a5f7_e9ad_827d_87d47e26b575["lock()"]
  28bde60f_e29b_2d31_1c4b_7d3c6fc117d1 -->|calls| a9955d3f_a5f7_e9ad_827d_87d47e26b575
  c24c38bc_94a5_6dd7_1e0a_4abbf00b61e7["unlock()"]
  28bde60f_e29b_2d31_1c4b_7d3c6fc117d1 -->|calls| c24c38bc_94a5_6dd7_1e0a_4abbf00b61e7
  style 28bde60f_e29b_2d31_1c4b_7d3c6fc117d1 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PoolArena.java lines 436–446

    @Override
    public long numDeallocations() {
        final long deallocs;
        lock();
        try {
            deallocs = deallocationsSmall + deallocationsNormal;
        } finally {
            unlock();
        }
        return deallocs + deallocationsHuge.sum();
    }

Domain

Subdomains

Frequently Asked Questions

What does numDeallocations() do?
numDeallocations() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolArena.java.
Where is numDeallocations() defined?
numDeallocations() is defined in buffer/src/main/java/io/netty/buffer/PoolArena.java at line 436.
What does numDeallocations() call?
numDeallocations() calls 2 function(s): lock, unlock.

Analyze Your Own Codebase

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

Try Supermodel Free