NAME

src/gc/gc_malloc.c - a malloc()/free()-based garbage collector.

DESCRIPTION

Handles garbage collection with malloc()/free(). Note that this doesn't currently work; this file just collects all of the #GC_MALLOC functions in one convenient place.

Functions

static int sweep_cb
Sweeps the given pool for the MS collector. This function also ends the profiling timer, if profiling is enabled. Returns the total number of objects freed.
static void clear_cow
Clears the COW ref count.
static void used_cow
Finds other users of COW's bufstart.