Home / Function/ copyMemoryWithSafePointPolling() — netty Function Reference

copyMemoryWithSafePointPolling() — netty Function Reference

Architecture documentation for the copyMemoryWithSafePointPolling() function in PlatformDependent0.java from the netty codebase.

Function java CommonUtil Internal calls 1 called by 1

Entity Profile

Dependency Diagram

graph TD
  8d091f6b_ee3d_4468_a99b_989356fcd91a["copyMemoryWithSafePointPolling()"]
  be4c38f2_d236_e498_c295_1033d2617879["PlatformDependent0"]
  8d091f6b_ee3d_4468_a99b_989356fcd91a -->|defined in| be4c38f2_d236_e498_c295_1033d2617879
  ad096ea9_a254_28f2_8d29_b123fbc23691["copyMemory()"]
  ad096ea9_a254_28f2_8d29_b123fbc23691 -->|calls| 8d091f6b_ee3d_4468_a99b_989356fcd91a
  ad096ea9_a254_28f2_8d29_b123fbc23691["copyMemory()"]
  8d091f6b_ee3d_4468_a99b_989356fcd91a -->|calls| ad096ea9_a254_28f2_8d29_b123fbc23691
  style 8d091f6b_ee3d_4468_a99b_989356fcd91a fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

common/src/main/java/io/netty/util/internal/PlatformDependent0.java lines 903–911

    private static void copyMemoryWithSafePointPolling(long srcAddr, long dstAddr, long length) {
        while (length > 0) {
            long size = Math.min(length, UNSAFE_COPY_THRESHOLD);
            UNSAFE.copyMemory(srcAddr, dstAddr, size);
            length -= size;
            srcAddr += size;
            dstAddr += size;
        }
    }

Domain

Subdomains

Calls

Called By

Frequently Asked Questions

What does copyMemoryWithSafePointPolling() do?
copyMemoryWithSafePointPolling() is a function in the netty codebase, defined in common/src/main/java/io/netty/util/internal/PlatformDependent0.java.
Where is copyMemoryWithSafePointPolling() defined?
copyMemoryWithSafePointPolling() is defined in common/src/main/java/io/netty/util/internal/PlatformDependent0.java at line 903.
What does copyMemoryWithSafePointPolling() call?
copyMemoryWithSafePointPolling() calls 1 function(s): copyMemory.
What calls copyMemoryWithSafePointPolling()?
copyMemoryWithSafePointPolling() is called by 1 function(s): copyMemory.

Analyze Your Own Codebase

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

Try Supermodel Free