Packages Overview

Module
allocator

Types

AllocInitType
SimpleHeapAllocator
TrackingAllocator
OnStackAllocator
AlignedBlock
TempAllocator
TempAllocatorPage
VmemOptions
WasmMemory
OnStackAllocatorHeader
Vmem
DynamicArenaAllocator
Allocation
TrackingEnv
BackedArenaAllocator
ArenaAllocator

Functions

new_array
release
fprint_report
derive_allocator
realloc
malloc_aligned
mark
clone_aligned
@aligned_alloc
free_aligned
calloc_aligned
is_aligned
clone_any
new_backed_allocator
total_allocation_count
pagesize
pop_pool
allocation_count
new_aligned
allocate_block
free
new
new_temp_allocator
acquire
new_array_aligned
new_try
@aligned_realloc
clone_slice
print_report
new_array_try
total_allocated
malloc_try
temp
allocated
alignment_for_allocation
calloc_try
alloc_with_padding
reset
alloc_array
alloc_array_aligned
new_with_padding
destroy
realloc_aligned
has_leaks
heap
calloc
owns_pointer
clear
realloc_try
@aligned_free
push_pool
init
alloc_try
malloc
alloc_array_try
resize
clone
alloc
alloc_aligned
destroy_temp_allocators
allocations_tlist
wrap

Globals

LIBC_ALLOCATOR
auto_create_temp
temp_allocator_default_options
WASM_BLOCK_SIZE
top_temp
MAX_BACKTRACE
temp_allocator_realloc_size
wasm_memory
current_temp
DEFAULT_SIZE_PREFIX_ALIGNMENT
temp_allocator_min_size
temp_allocator_reserve_size
DEFAULT_SIZE_PREFIX
NULL_ALLOCATOR

Private

Functions

create_temp_allocator
base_allocator
create_temp_allocator_on_demand

Globals

temp_base_allocator
thread_allocator
LAZY_TEMP