Home / Function/ trimCaches() — netty Function Reference

trimCaches() — netty Function Reference

Architecture documentation for the trimCaches() function in PooledByteBufAllocatorTest.java from the netty codebase.

Function java Buffer Search called by 2

Entity Profile

Dependency Diagram

graph TD
  7192df7f_2c82_ba35_6dd4_2023f4e87e60["trimCaches()"]
  f8855572_2abf_1bf6_a32b_5cf6d1cf4947["PooledByteBufAllocatorTest"]
  7192df7f_2c82_ba35_6dd4_2023f4e87e60 -->|defined in| f8855572_2abf_1bf6_a32b_5cf6d1cf4947
  64ff1dc7_f2b1_46b9_58e9_cc82cd89711a["testUsedDirectMemory()"]
  64ff1dc7_f2b1_46b9_58e9_cc82cd89711a -->|calls| 7192df7f_2c82_ba35_6dd4_2023f4e87e60
  c7ff040a_7ac5_23ee_ceec_263cfa589344["testUsedHeapMemory()"]
  c7ff040a_7ac5_23ee_ceec_263cfa589344 -->|calls| 7192df7f_2c82_ba35_6dd4_2023f4e87e60
  style 7192df7f_2c82_ba35_6dd4_2023f4e87e60 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java lines 82–85

    @Override
    protected void trimCaches(PooledByteBufAllocator allocator) {
        allocator.trimCurrentThreadCache();
    }

Domain

Subdomains

Frequently Asked Questions

What does trimCaches() do?
trimCaches() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java.
Where is trimCaches() defined?
trimCaches() is defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java at line 82.
What calls trimCaches()?
trimCaches() is called by 2 function(s): testUsedDirectMemory, testUsedHeapMemory.

Analyze Your Own Codebase

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

Try Supermodel Free