Home / Function/ release() — netty Function Reference

release() — netty Function Reference

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

Function java Buffer Telemetry calls 1 called by 12

Entity Profile

Dependency Diagram

graph TD
  59c1d0ae_e507_0c96_51fa_359fe1b6411f["release()"]
  f1cdd349_c4cb_5c01_45cf_5cb7bb37814d["Chunk"]
  59c1d0ae_e507_0c96_51fa_359fe1b6411f -->|defined in| f1cdd349_c4cb_5c01_45cf_5cb7bb37814d
  546842cb_8674_f9d5_6751_ee84ff075ac8["AdaptiveByteBuf()"]
  546842cb_8674_f9d5_6751_ee84ff075ac8 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  080309e4_d57c_ce66_6f51_f105cc6f6710["AdaptiveByteBuf()"]
  080309e4_d57c_ce66_6f51_f105cc6f6710 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  fd186d64_9da5_df36_66cb_2167df031bd3["freeChunkReuseQueue()"]
  fd186d64_9da5_df36_66cb_2167df031bd3 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  8581bfb7_29e0_ba76_9f0e_87d86c459049["offerChunk()"]
  8581bfb7_29e0_ba76_9f0e_87d86c459049 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  33bb02aa_95f4_9821_7021_dcda1b551bd1["transferToNextInLineOrRelease()"]
  33bb02aa_95f4_9821_7021_dcda1b551bd1 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  f4981826_99f5_bf62_b6e7_eb825c46476a["releaseFromMagazine()"]
  f4981826_99f5_bf62_b6e7_eb825c46476a -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  aa4d5650_6a83_e39b_3f24_f23c1cb66883["releaseSegment()"]
  aa4d5650_6a83_e39b_3f24_f23c1cb66883 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  98785a74_86ed_ffcc_d613_fd55a1cb34e4["deallocate()"]
  98785a74_86ed_ffcc_d613_fd55a1cb34e4 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  5b606370_5e08_94d5_b745_9c0ce73ce25a["readInitInto()"]
  5b606370_5e08_94d5_b745_9c0ce73ce25a -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  f1f91104_8721_329c_3138_235bb4f03863["releaseSegment()"]
  f1f91104_8721_329c_3138_235bb4f03863 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  a13d9512_d928_e5c6_faed_67181d87b829["readInitInto()"]
  a13d9512_d928_e5c6_faed_67181d87b829 -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  28e6d77f_4b9f_51aa_b832_9475c437bbcb["releaseSegment()"]
  28e6d77f_4b9f_51aa_b832_9475c437bbcb -->|calls| 59c1d0ae_e507_0c96_51fa_359fe1b6411f
  98785a74_86ed_ffcc_d613_fd55a1cb34e4["deallocate()"]
  59c1d0ae_e507_0c96_51fa_359fe1b6411f -->|calls| 98785a74_86ed_ffcc_d613_fd55a1cb34e4
  style 59c1d0ae_e507_0c96_51fa_359fe1b6411f fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java lines 1150–1156

        protected boolean release() {
            boolean deallocate = RefCnt.release(refCnt);
            if (deallocate) {
                deallocate();
            }
            return deallocate;
        }

Domain

Subdomains

Calls

Frequently Asked Questions

What does release() do?
release() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java.
Where is release() defined?
release() is defined in buffer/src/main/java/io/netty/buffer/AdaptivePoolingAllocator.java at line 1150.
What does release() call?
release() calls 1 function(s): deallocate.
What calls release()?
release() is called by 12 function(s): AdaptiveByteBuf, AdaptiveByteBuf, deallocate, freeChunkReuseQueue, offerChunk, readInitInto, readInitInto, releaseFromMagazine, and 4 more.

Analyze Your Own Codebase

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

Try Supermodel Free