Skip to main content

Module heap

Module heap 

Source
Expand description

Heap and arena operations for advanced memory management.

Structs§

ArenaId
Arena identifier for managing memory regions.
Heap
A handle to a mimalloc heap.

Enums§

ArenaError
Error returned by arena operations.

Functions§

arena_max_object_size
Maximum object size for arena allocations.
arena_min_alignment
Minimum alignment for arena allocations.
arena_min_size
Minimum size for arena allocations.
manage_os_memory
Manage an existing memory region as an arena.
reserve_os_memory
Reserve OS memory as an exclusive arena.