Garbage Collector Interface

Public Interface

The public interface of the Mono GC is fairly limited, and its the only one that embedders should be using:

mono_gc_collect

mono_gc_max_generation

mono_gc_get_heap_size

mono_gc_get_used_size

Weak Links

mono_gc_weak_link_add

mono_gc_weak_link_get

mono_gc_weak_link_remove

Internal Interface

The internal interface of the Mono GC is the interface used between the runtime engine and the garbage collector.

mono_gc_disable

mono_gc_enable

mono_gc_is_finalizer_thread

mono_gc_out_of_memory

mono_gc_start_world

mono_gc_stop_world

mono_gc_alloc_fixed

mono_gc_enable_events

mono_gc_free_fixed

mono_gc_make_descr_from_bitmap

mono_gc_base_init

mono_gc_invoke_finalizers

mono_gc_is_gc_thread

mono_gc_pending_finalizers

mono_gc_register_thread

mono_gc_finalize_notify