Home / Function/ PooledByteBufAllocator() — netty Function Reference

PooledByteBufAllocator() — netty Function Reference

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

Entity Profile

Dependency Diagram

graph TD
  4e681469_9c14_67cb_5890_46b5d4b12dd2["PooledByteBufAllocator()"]
  f8855572_2abf_1bf6_a32b_5cf6d1cf4947["PooledByteBufAllocatorTest"]
  4e681469_9c14_67cb_5890_46b5d4b12dd2 -->|defined in| f8855572_2abf_1bf6_a32b_5cf6d1cf4947
  b9601684_1fea_4518_0160_fa04ca337931["testWithoutUseCacheForAllThreads()"]
  b9601684_1fea_4518_0160_fa04ca337931 -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  7c1853c3_f413_66e9_4591_0a53aa815f13["testArenaMetricsNoCache()"]
  7c1853c3_f413_66e9_4591_0a53aa815f13 -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  f58189da_65a5_01e0_d257_6cd5a9e8accd["testArenaMetricsCache()"]
  f58189da_65a5_01e0_d257_6cd5a9e8accd -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  d6e8f960_e95e_9559_6742_6adac6f99e0f["testArenaMetricsNoCacheAlign()"]
  d6e8f960_e95e_9559_6742_6adac6f99e0f -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  4ede93d7_0b70_b8fb_92b9_aeb3ca164186["testArenaMetricsCacheAlign()"]
  4ede93d7_0b70_b8fb_92b9_aeb3ca164186 -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  c6e1bc80_ad3b_47c7_5649_8f37abd4394c["testSmallSubpageMetric()"]
  c6e1bc80_ad3b_47c7_5649_8f37abd4394c -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  f6101a80_2758_ec38_ba51_19b9186d8c0e["testAllocNotNull()"]
  f6101a80_2758_ec38_ba51_19b9186d8c0e -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  44d2f558_4bed_b86f_a757_b81656650cf1["testFreePoolChunk()"]
  44d2f558_4bed_b86f_a757_b81656650cf1 -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  cfef598c_108b_ac70_5f92_dc57caaddc6c["testCollapse()"]
  cfef598c_108b_ac70_5f92_dc57caaddc6c -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  59e77fcf_c7db_7f85_22ba_d09f40a747af["testAllocateSmallOffset()"]
  59e77fcf_c7db_7f85_22ba_d09f40a747af -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  158a4e7a_eea0_fa1f_3536_3e2c9a5517e8["testThreadCacheDestroyed()"]
  158a4e7a_eea0_fa1f_3536_3e2c9a5517e8 -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  de494399_c981_c4b3_1fce_b1d8ca781aa4["testNumThreadCachesWithNoDirectArenas()"]
  de494399_c981_c4b3_1fce_b1d8ca781aa4 -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  be94b9d4_4e5e_4fba_7283_60b4185f4932["testNumThreadCachesAccountForDirectAndHeapArenas()"]
  be94b9d4_4e5e_4fba_7283_60b4185f4932 -->|calls| 4e681469_9c14_67cb_5890_46b5d4b12dd2
  style 4e681469_9c14_67cb_5890_46b5d4b12dd2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java lines 59–62

    @Override
    protected PooledByteBufAllocator newAllocator(boolean preferDirect) {
        return new PooledByteBufAllocator(preferDirect);
    }

Domain

Subdomains

Frequently Asked Questions

What does PooledByteBufAllocator() do?
PooledByteBufAllocator() is a function in the netty codebase, defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java.
Where is PooledByteBufAllocator() defined?
PooledByteBufAllocator() is defined in buffer/src/test/java/io/netty/buffer/PooledByteBufAllocatorTest.java at line 59.
What calls PooledByteBufAllocator()?
PooledByteBufAllocator() is called by 18 function(s): pinnedMemoryMustReflectBuffersInUse, testAllocNotNull, testAllocateSmallOffset, testArenaMetricsCache, testArenaMetricsCacheAlign, testArenaMetricsNoCache, testArenaMetricsNoCacheAlign, testCacheWorksForNormalAllocations, and 10 more.

Analyze Your Own Codebase

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

Try Supermodel Free