Home / Function/ freeDirectNoCleaner() — netty Function Reference

freeDirectNoCleaner() — netty Function Reference

Architecture documentation for the freeDirectNoCleaner() function in PlatformDependent.java from the netty codebase.

Function java CommonUtil Internal calls 3 called by 1

Entity Profile

Dependency Diagram

graph TD
  48ac83f2_7017_6c5f_6f52_8496bd455ac2["freeDirectNoCleaner()"]
  2e66d079_807f_6785_864f_73ab09fbc515["PlatformDependent"]
  48ac83f2_7017_6c5f_6f52_8496bd455ac2 -->|defined in| 2e66d079_807f_6785_864f_73ab09fbc515
  257d6e5e_7c71_4f0e_ffc9_228f7b09ff6f["freeDirectBuffer()"]
  257d6e5e_7c71_4f0e_ffc9_228f7b09ff6f -->|calls| 48ac83f2_7017_6c5f_6f52_8496bd455ac2
  fca4a57a_a43e_341f_3f09_762185c25e30["freeMemory()"]
  48ac83f2_7017_6c5f_6f52_8496bd455ac2 -->|calls| fca4a57a_a43e_341f_3f09_762185c25e30
  72fb7564_1e79_5d56_219c_e6db0408f262["directBufferAddress()"]
  48ac83f2_7017_6c5f_6f52_8496bd455ac2 -->|calls| 72fb7564_1e79_5d56_219c_e6db0408f262
  b1cb26b4_c2ba_5673_a5f0_cf8c8a656d04["decrementMemoryCounter()"]
  48ac83f2_7017_6c5f_6f52_8496bd455ac2 -->|calls| b1cb26b4_c2ba_5673_a5f0_cf8c8a656d04
  style 48ac83f2_7017_6c5f_6f52_8496bd455ac2 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/PlatformDependent.java lines 1025–1031

    public static void freeDirectNoCleaner(ByteBuffer buffer) {
        assert USE_DIRECT_BUFFER_NO_CLEANER;

        int capacity = buffer.capacity();
        PlatformDependent0.freeMemory(PlatformDependent0.directBufferAddress(buffer));
        decrementMemoryCounter(capacity);
    }

Domain

Subdomains

Called By

Frequently Asked Questions

What does freeDirectNoCleaner() do?
freeDirectNoCleaner() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/PlatformDependent.java.
Where is freeDirectNoCleaner() defined?
freeDirectNoCleaner() is defined in common/src/main/java/io/netty/util/internal/PlatformDependent.java at line 1025.
What does freeDirectNoCleaner() call?
freeDirectNoCleaner() calls 3 function(s): decrementMemoryCounter, directBufferAddress, freeMemory.
What calls freeDirectNoCleaner()?
freeDirectNoCleaner() is called by 1 function(s): freeDirectBuffer.

Analyze Your Own Codebase

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

Try Supermodel Free