| 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_poolpool contains *ptr.Parrot_is_const_pmc*pmc is a constant PMC.more_traceable_objectsgc_ms_add_free_objectgc_ms_get_free_objectParrot_add_to_free_listarena to the free list.Parrot_append_arena_in_poolgc_ms_alloc_objectsnew_small_object_poolSmall_Object_Pool and returns a pointer to it.gc_pmc_ext_pool_initgc_ms_pool_initParrot_gc_ms_initadd_free_object_fn,
get_free_object_fn,
alloc_object_fn,
and more_object_fn.Parrot_small_object_pool_mergesource into dest.
include/parrot/smallobject.h, docs/memory_internals.pod.
|
|
|