parrotcode: Memory allocation | |
Contents | C |
src/gc/memory.c - Memory allocation
The memory (mem) API handles memory allocation,
Basically just a wrapper around malloc/calloc/realloc/free()
with an setup function to initialize the memory pools.
mem_sys_allocate
malloc
to allocate system memory.mem__internal_allocate
mem_sys_allocate_zeroed
calloc
to allocate system memory.mem__internal_allocate_zeroed
mem_sys_realloc
mem_sys_realloc_zeroed
mem__internal_realloc
mem_sys_free
mem__internal_free
mem_setup_allocator
|