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