parrotcode: Handling Small Object Pools | |
Contents | C |
src/gc/resources.c - Handling Small Object Pools
Handles the accessing of small object pools (header pools).
INTVAL contained_in_pool
pool
contains *ptr
.int Parrot_is_const_pmc
*pmc
is a constant PMC.static void more_traceable_objects
static void gc_ms_add_free_object
static PObj *gc_ms_get_free_object
void Parrot_add_to_free_list
arena
to the free list.void Parrot_append_arena_in_pool
static void gc_ms_alloc_objects
Small_Object_Pool *new_small_object_pool
Small_Object_Pool
and returns a pointer to it.void gc_pmc_ext_pool_init
static void gc_ms_pool_init
void Parrot_gc_ms_init
add_free_object_fn
,
get_free_object_fn
,
alloc_object_fn
,
and more_object_fn
.void Parrot_small_object_pool_merge
source
into dest
.include/parrot/smallobject.h, docs/memory_internals.pod.
|