Module c_api

Source

Functionsยง

comet_add_gc_info
comet_default_config
comet_gc_size
comet_get_gc_info
comet_heap_add_constraint
Add GC constraint to the Comet Heap. Each constraint is executed when marking starts to obtain list of root objects.
comet_heap_add_core_constraints
Add core constraints to the heap. This one will setup stack scanning routines.
comet_heap_allocate
Allocates memory and returns pointer. NULL is returned if no memory is available.
comet_heap_allocate_or_fail
Allocates memory and returns pointer. When no memory is left process is aborted.
comet_heap_allocate_weak
comet_heap_collect
comet_heap_collect_if_necessary_or_defer
comet_heap_create
comet_heap_free
Free comet heap
comet_init
comet_trace
comet_trace_conservatively
comet_weak_upgrade
Upgrade weak ref. If it is still alive then pointer is returned otherwise NULL is returned.