Home / Function/ addToPool() — netty Function Reference

addToPool() — netty Function Reference

Architecture documentation for the addToPool() function in PoolSubpage.java from the netty codebase.

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  895e2ccf_f556_7741_93ea_be5be86704c9["addToPool()"]
  a6a571ea_fcf9_6eda_c073_f8d61fa999a3["PoolSubpage"]
  895e2ccf_f556_7741_93ea_be5be86704c9 -->|defined in| a6a571ea_fcf9_6eda_c073_f8d61fa999a3
  d80c37e0_c3bb_6ddc_a97d_06bcb91a58c6["PoolSubpage()"]
  d80c37e0_c3bb_6ddc_a97d_06bcb91a58c6 -->|calls| 895e2ccf_f556_7741_93ea_be5be86704c9
  83bbb0dd_3188_7350_8354_910efc6a1ada["free()"]
  83bbb0dd_3188_7350_8354_910efc6a1ada -->|calls| 895e2ccf_f556_7741_93ea_be5be86704c9
  style 895e2ccf_f556_7741_93ea_be5be86704c9 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/main/java/io/netty/buffer/PoolSubpage.java lines 153–159

    private void addToPool(PoolSubpage<T> head) {
        assert prev == null && next == null;
        prev = head;
        next = head.next;
        next.prev = this;
        head.next = this;
    }

Domain

Subdomains

Frequently Asked Questions

What does addToPool() do?
addToPool() is a function in the netty codebase, defined in buffer/src/main/java/io/netty/buffer/PoolSubpage.java.
Where is addToPool() defined?
addToPool() is defined in buffer/src/main/java/io/netty/buffer/PoolSubpage.java at line 153.
What calls addToPool()?
addToPool() is called by 2 function(s): PoolSubpage, free.

Analyze Your Own Codebase

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

Try Supermodel Free