memory.h

Include dependency graph for memory.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "4" [label="assert.h" tooltip="assert.h"]
    "7" [label="stdint.h" tooltip="stdint.h"]
    "10" [label="stdlib.h" tooltip="stdlib.h"]
    "8" [label="utils.h" tooltip="utils.h"]
    "3" [label="term_typedef.h" tooltip="term_typedef.h"]
    "9" [label="stddef.h" tooltip="stddef.h"]
    "5" [label="limits.h" tooltip="limits.h"]
    "2" [label="erl_nif.h" tooltip="erl_nif.h"]
    "1" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/memory.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/memory.h" fillcolor="#BFBFBF"]
    "6" [label="inttypes.h" tooltip="inttypes.h"]
    "8" -> "9" [dir=forward tooltip="include"]
    "3" -> "4" [dir=forward tooltip="include"]
    "3" -> "5" [dir=forward tooltip="include"]
    "3" -> "6" [dir=forward tooltip="include"]
    "3" -> "7" [dir=forward tooltip="include"]
    "2" -> "3" [dir=forward tooltip="include"]
    "1" -> "2" [dir=forward tooltip="include"]
    "1" -> "3" [dir=forward tooltip="include"]
    "1" -> "8" [dir=forward tooltip="include"]
    "1" -> "7" [dir=forward tooltip="include"]
    "1" -> "10" [dir=forward tooltip="include"]
}

This graph shows which files directly or indirectly include memory.h:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "28" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bif.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bif.c"]
    "47" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/dictionary.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/dictionary.c"]
    "27" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bif.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bif.h"]
    "48" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/dictionary.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/dictionary.h"]
    "22" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bitstring.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bitstring.c"]
    "21" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bitstring.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/bitstring.h"]
    "37" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/platform_nifs.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/platform_nifs.h"]
    "8" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/posix_nifs.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/posix_nifs.c"]
    "50" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/posix_nifs.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/posix_nifs.h"]
    "56" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/defaultatoms.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/defaultatoms.c"]
    "55" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/defaultatoms.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/defaultatoms.h"]
    "12" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/inet.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/inet.c"]
    "11" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/inet.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/inet.h"]
    "31" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/scheduler.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/scheduler.c"]
    "46" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/scheduler.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/scheduler.h"]
    "49" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/exportedfunction.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/exportedfunction.h"]
    "3" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/context.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/context.c"]
    "26" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/context.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/context.h"]
    "17" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/port.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/port.c"]
    "16" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/port.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/port.h"]
    "57" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/overflow_helpers.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/overflow_helpers.h"]
    "39" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/stacktrace.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/stacktrace.c"]
    "38" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/stacktrace.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/stacktrace.h"]
    "9" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/refc_binary.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/refc_binary.c"]
    "19" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/refc_binary.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/refc_binary.h"]
    "14" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/mailbox.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/mailbox.c"]
    "25" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/module.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/module.c"]
    "36" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/module.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/module.h"]
    "54" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/avmpack.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/avmpack.c"]
    "53" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/avmpack.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/avmpack.h"]
    "35" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/term.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/term.c"]
    "20" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/term.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/term.h"]
    "23" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/interop.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/interop.c"]
    "7" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_ssl.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_ssl.c"]
    "33" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/interop.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/interop.h"]
    "45" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_ssl.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_ssl.h"]
    "10" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/resources.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/resources.c"]
    "18" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/resources.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/resources.h"]
    "34" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.c"]
    "42" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_crypto.h"]
    "13" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_net.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_net.c"]
    "43" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_net.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_net.h"]
    "2" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/erl_nif_priv.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/erl_nif_priv.h"]
    "40" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/sys.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/sys.h"]
    "15" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.c"]
    "41" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/nifs.h"]
    "24" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/opcodesswitch.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/opcodesswitch.h"]
    "30" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/debug.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/debug.c"]
    "29" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/debug.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/debug.h"]
    "4" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/globalcontext.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/globalcontext.c"]
    "52" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/globalcontext.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/globalcontext.h"]
    "5" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/memory.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/memory.c"]
    "6" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_socket.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_socket.c"]
    "1" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/memory.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/memory.h" fillcolor="#BFBFBF"]
    "44" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_socket.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/otp_socket.h"]
    "32" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/externalterm.c" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/externalterm.c"]
    "51" [label="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/externalterm.h" tooltip="/home/runner/work/AtomVM/AtomVM/src/libAtomVM/externalterm.h"]
    "27" -> "28" [dir=back tooltip="include"]
    "27" -> "25" [dir=back tooltip="include"]
    "27" -> "15" [dir=back tooltip="include"]
    "27" -> "24" [dir=back tooltip="include"]
    "48" -> "28" [dir=back tooltip="include"]
    "48" -> "3" [dir=back tooltip="include"]
    "48" -> "47" [dir=back tooltip="include"]
    "48" -> "5" [dir=back tooltip="include"]
    "48" -> "15" [dir=back tooltip="include"]
    "48" -> "6" [dir=back tooltip="include"]
    "48" -> "9" [dir=back tooltip="include"]
    "21" -> "22" [dir=back tooltip="include"]
    "21" -> "23" [dir=back tooltip="include"]
    "21" -> "24" [dir=back tooltip="include"]
    "37" -> "15" [dir=back tooltip="include"]
    "50" -> "4" [dir=back tooltip="include"]
    "50" -> "15" [dir=back tooltip="include"]
    "50" -> "6" [dir=back tooltip="include"]
    "50" -> "8" [dir=back tooltip="include"]
    "55" -> "28" [dir=back tooltip="include"]
    "55" -> "56" [dir=back tooltip="include"]
    "55" -> "47" [dir=back tooltip="include"]
    "55" -> "4" [dir=back tooltip="include"]
    "55" -> "23" [dir=back tooltip="include"]
    "55" -> "15" [dir=back tooltip="include"]
    "55" -> "24" [dir=back tooltip="include"]
    "55" -> "34" [dir=back tooltip="include"]
    "55" -> "13" [dir=back tooltip="include"]
    "55" -> "6" [dir=back tooltip="include"]
    "55" -> "7" [dir=back tooltip="include"]
    "55" -> "17" [dir=back tooltip="include"]
    "55" -> "16" [dir=back tooltip="include"]
    "55" -> "8" [dir=back tooltip="include"]
    "55" -> "10" [dir=back tooltip="include"]
    "55" -> "39" [dir=back tooltip="include"]
    "11" -> "12" [dir=back tooltip="include"]
    "11" -> "13" [dir=back tooltip="include"]
    "11" -> "6" [dir=back tooltip="include"]
    "11" -> "7" [dir=back tooltip="include"]
    "46" -> "14" [dir=back tooltip="include"]
    "46" -> "15" [dir=back tooltip="include"]
    "46" -> "24" [dir=back tooltip="include"]
    "46" -> "6" [dir=back tooltip="include"]
    "46" -> "31" [dir=back tooltip="include"]
    "49" -> "27" [dir=back tooltip="include"]
    "49" -> "36" [dir=back tooltip="include"]
    "49" -> "41" [dir=back tooltip="include"]
    "49" -> "24" [dir=back tooltip="include"]
    "49" -> "37" [dir=back tooltip="include"]
    "49" -> "50" [dir=back tooltip="include"]
    "26" -> "27" [dir=back tooltip="include"]
    "26" -> "3" [dir=back tooltip="include"]
    "26" -> "29" [dir=back tooltip="include"]
    "26" -> "2" [dir=back tooltip="include"]
    "26" -> "32" [dir=back tooltip="include"]
    "26" -> "4" [dir=back tooltip="include"]
    "26" -> "33" [dir=back tooltip="include"]
    "26" -> "5" [dir=back tooltip="include"]
    "26" -> "25" [dir=back tooltip="include"]
    "26" -> "36" [dir=back tooltip="include"]
    "26" -> "15" [dir=back tooltip="include"]
    "26" -> "41" [dir=back tooltip="include"]
    "26" -> "34" [dir=back tooltip="include"]
    "26" -> "13" [dir=back tooltip="include"]
    "26" -> "6" [dir=back tooltip="include"]
    "26" -> "7" [dir=back tooltip="include"]
    "26" -> "17" [dir=back tooltip="include"]
    "26" -> "16" [dir=back tooltip="include"]
    "26" -> "9" [dir=back tooltip="include"]
    "26" -> "10" [dir=back tooltip="include"]
    "26" -> "46" [dir=back tooltip="include"]
    "26" -> "38" [dir=back tooltip="include"]
    "26" -> "35" [dir=back tooltip="include"]
    "16" -> "12" [dir=back tooltip="include"]
    "16" -> "15" [dir=back tooltip="include"]
    "16" -> "13" [dir=back tooltip="include"]
    "16" -> "6" [dir=back tooltip="include"]
    "16" -> "7" [dir=back tooltip="include"]
    "16" -> "17" [dir=back tooltip="include"]
    "57" -> "28" [dir=back tooltip="include"]
    "38" -> "24" [dir=back tooltip="include"]
    "38" -> "39" [dir=back tooltip="include"]
    "19" -> "4" [dir=back tooltip="include"]
    "19" -> "5" [dir=back tooltip="include"]
    "19" -> "7" [dir=back tooltip="include"]
    "19" -> "9" [dir=back tooltip="include"]
    "19" -> "10" [dir=back tooltip="include"]
    "19" -> "20" [dir=back tooltip="include"]
    "36" -> "27" [dir=back tooltip="include"]
    "36" -> "25" [dir=back tooltip="include"]
    "36" -> "15" [dir=back tooltip="include"]
    "36" -> "24" [dir=back tooltip="include"]
    "36" -> "37" [dir=back tooltip="include"]
    "36" -> "38" [dir=back tooltip="include"]
    "36" -> "40" [dir=back tooltip="include"]
    "53" -> "54" [dir=back tooltip="include"]
    "53" -> "4" [dir=back tooltip="include"]
    "53" -> "15" [dir=back tooltip="include"]
    "20" -> "21" [dir=back tooltip="include"]
    "20" -> "3" [dir=back tooltip="include"]
    "20" -> "26" [dir=back tooltip="include"]
    "20" -> "47" [dir=back tooltip="include"]
    "20" -> "48" [dir=back tooltip="include"]
    "20" -> "49" [dir=back tooltip="include"]
    "20" -> "51" [dir=back tooltip="include"]
    "20" -> "52" [dir=back tooltip="include"]
    "20" -> "12" [dir=back tooltip="include"]
    "20" -> "23" [dir=back tooltip="include"]
    "20" -> "33" [dir=back tooltip="include"]
    "20" -> "5" [dir=back tooltip="include"]
    "20" -> "25" [dir=back tooltip="include"]
    "20" -> "36" [dir=back tooltip="include"]
    "20" -> "15" [dir=back tooltip="include"]
    "20" -> "34" [dir=back tooltip="include"]
    "20" -> "13" [dir=back tooltip="include"]
    "20" -> "6" [dir=back tooltip="include"]
    "20" -> "7" [dir=back tooltip="include"]
    "20" -> "57" [dir=back tooltip="include"]
    "20" -> "16" [dir=back tooltip="include"]
    "20" -> "50" [dir=back tooltip="include"]
    "20" -> "38" [dir=back tooltip="include"]
    "20" -> "35" [dir=back tooltip="include"]
    "33" -> "11" [dir=back tooltip="include"]
    "33" -> "23" [dir=back tooltip="include"]
    "33" -> "15" [dir=back tooltip="include"]
    "33" -> "34" [dir=back tooltip="include"]
    "33" -> "13" [dir=back tooltip="include"]
    "33" -> "6" [dir=back tooltip="include"]
    "33" -> "7" [dir=back tooltip="include"]
    "33" -> "8" [dir=back tooltip="include"]
    "33" -> "35" [dir=back tooltip="include"]
    "45" -> "7" [dir=back tooltip="include"]
    "18" -> "4" [dir=back tooltip="include"]
    "18" -> "19" [dir=back tooltip="include"]
    "18" -> "10" [dir=back tooltip="include"]
    "42" -> "34" [dir=back tooltip="include"]
    "43" -> "13" [dir=back tooltip="include"]
    "2" -> "3" [dir=back tooltip="include"]
    "2" -> "4" [dir=back tooltip="include"]
    "2" -> "5" [dir=back tooltip="include"]
    "2" -> "6" [dir=back tooltip="include"]
    "2" -> "7" [dir=back tooltip="include"]
    "2" -> "8" [dir=back tooltip="include"]
    "2" -> "9" [dir=back tooltip="include"]
    "2" -> "10" [dir=back tooltip="include"]
    "40" -> "3" [dir=back tooltip="include"]
    "40" -> "4" [dir=back tooltip="include"]
    "40" -> "25" [dir=back tooltip="include"]
    "40" -> "15" [dir=back tooltip="include"]
    "40" -> "6" [dir=back tooltip="include"]
    "40" -> "10" [dir=back tooltip="include"]
    "40" -> "31" [dir=back tooltip="include"]
    "41" -> "25" [dir=back tooltip="include"]
    "41" -> "15" [dir=back tooltip="include"]
    "41" -> "24" [dir=back tooltip="include"]
    "41" -> "34" [dir=back tooltip="include"]
    "41" -> "42" [dir=back tooltip="include"]
    "41" -> "13" [dir=back tooltip="include"]
    "41" -> "43" [dir=back tooltip="include"]
    "41" -> "6" [dir=back tooltip="include"]
    "41" -> "44" [dir=back tooltip="include"]
    "41" -> "7" [dir=back tooltip="include"]
    "41" -> "45" [dir=back tooltip="include"]
    "41" -> "8" [dir=back tooltip="include"]
    "24" -> "3" [dir=back tooltip="include"]
    "24" -> "25" [dir=back tooltip="include"]
    "29" -> "30" [dir=back tooltip="include"]
    "29" -> "5" [dir=back tooltip="include"]
    "29" -> "24" [dir=back tooltip="include"]
    "29" -> "31" [dir=back tooltip="include"]
    "52" -> "53" [dir=back tooltip="include"]
    "52" -> "3" [dir=back tooltip="include"]
    "52" -> "26" [dir=back tooltip="include"]
    "52" -> "55" [dir=back tooltip="include"]
    "52" -> "4" [dir=back tooltip="include"]
    "52" -> "25" [dir=back tooltip="include"]
    "52" -> "36" [dir=back tooltip="include"]
    "52" -> "15" [dir=back tooltip="include"]
    "52" -> "34" [dir=back tooltip="include"]
    "52" -> "13" [dir=back tooltip="include"]
    "52" -> "43" [dir=back tooltip="include"]
    "52" -> "6" [dir=back tooltip="include"]
    "52" -> "44" [dir=back tooltip="include"]
    "52" -> "7" [dir=back tooltip="include"]
    "52" -> "45" [dir=back tooltip="include"]
    "52" -> "17" [dir=back tooltip="include"]
    "52" -> "16" [dir=back tooltip="include"]
    "52" -> "8" [dir=back tooltip="include"]
    "52" -> "50" [dir=back tooltip="include"]
    "52" -> "46" [dir=back tooltip="include"]
    "52" -> "39" [dir=back tooltip="include"]
    "52" -> "40" [dir=back tooltip="include"]
    "1" -> "2" [dir=back tooltip="include"]
    "1" -> "11" [dir=back tooltip="include"]
    "1" -> "14" [dir=back tooltip="include"]
    "1" -> "5" [dir=back tooltip="include"]
    "1" -> "15" [dir=back tooltip="include"]
    "1" -> "6" [dir=back tooltip="include"]
    "1" -> "16" [dir=back tooltip="include"]
    "1" -> "9" [dir=back tooltip="include"]
    "1" -> "18" [dir=back tooltip="include"]
    "1" -> "39" [dir=back tooltip="include"]
    "1" -> "20" [dir=back tooltip="include"]
    "44" -> "6" [dir=back tooltip="include"]
    "44" -> "7" [dir=back tooltip="include"]
    "51" -> "32" [dir=back tooltip="include"]
    "51" -> "25" [dir=back tooltip="include"]
    "51" -> "15" [dir=back tooltip="include"]
}

Defines

HEAP_NEED_GC_SHRINK_THRESHOLD_COEFF
MIN_FREE_SPACE_SIZE
TYPEDEF_CONTEXT
TYPEDEF_GLOBALCONTEXT
TYPEDEF_HEAP
BEGIN_WITH_STACK_HEAP(size, name)
END_WITH_STACK_HEAP(name, global)
STORAGE_MSO_LIST_INDEX
STORAGE_HEAP_START_INDEX

Typedefs

typedef struct Context Context
typedef struct GlobalContext GlobalContext
typedef struct HeapFragment HeapFragment
typedef struct Heap Heap

Enums

enum MemoryGCResult

Values:

enumerator MEMORY_GC_OK
enumerator MEMORY_GC_ERROR_FAILED_ALLOCATION
enumerator MEMORY_GC_DENIED_ALLOCATION
enum MemoryAllocMode

Values:

enumerator MEMORY_NO_SHRINK
enumerator MEMORY_CAN_SHRINK
enumerator MEMORY_FORCE_SHRINK
enumerator MEMORY_NO_GC

Functions

void memory_init_heap_root_fragment(Heap *heap, HeapFragment *root, size_t size)
enum MemoryGCResult memory_init_heap (Heap *heap, size_t size) MUST_CHECK
static inline size_t memory_heap_fragment_memory_size(const HeapFragment *fragment)
static inline size_t memory_heap_youngest_size(const Heap *heap)
static inline size_t memory_heap_memory_size(const Heap *heap)
static inline MALLOC_LIKE term * memory_heap_alloc (Heap *heap, size_t size)
term memory_copy_term_tree(Heap *new_heap, term t)
enum MemoryGCResult memory_ensure_free_with_roots (Context *ctx, size_t size, size_t num_roots, term *roots, enum MemoryAllocMode alloc_mode) MUST_CHECK
static inline MUST_CHECK enum MemoryGCResult memory_ensure_free_opt (Context *ctx, size_t size, enum MemoryAllocMode alloc_mode)
static inline MUST_CHECK enum MemoryGCResult memory_ensure_free (Context *ctx, size_t size)
MUST_CHECK enum MemoryGCResult memory_erl_nif_env_ensure_free (ErlNifEnv *env, size_t size)
term memory_copy_term_tree_to_storage(term *storage, term **heap_end, term t)
unsigned long memory_estimate_usage(term t)
void memory_heap_append_fragment(Heap *heap, HeapFragment *fragment, term mso_list)
static inline void memory_heap_append_heap(Heap *target, Heap *source)
void memory_sweep_mso_list(term mso_list, GlobalContext *global)
static inline void memory_destroy_heap_fragment(HeapFragment *fragment)
static inline void memory_destroy_heap(Heap *heap, GlobalContext *global)
struct HeapFragment

Collaboration diagram for HeapFragment:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "1" [label="HeapFragment" tooltip="HeapFragment" fillcolor="#BFBFBF"]
    "1" -> "1" [dir=forward tooltip="usage"]
}

Public Members

HeapFragment *next
term mso_list
term *heap_end
union HeapFragment::[anonymous] [anonymous]
term storage[]
struct Heap

Collaboration diagram for Heap:

digraph {
    graph [bgcolor="#00000000"]
    node [shape=rectangle style=filled fillcolor="#FFFFFF" font=Helvetica padding=2]
    edge [color="#1414CE"]
    "2" [label="HeapFragment" tooltip="HeapFragment"]
    "1" [label="Heap" tooltip="Heap" fillcolor="#BFBFBF"]
    "2" -> "2" [dir=forward tooltip="usage"]
    "1" -> "2" [dir=forward tooltip="usage"]
}

Public Members

HeapFragment *root
term *heap_start
term *heap_ptr
term *heap_end