2 * mono-gc.h: GC related public interface
5 #ifndef __METADATA_MONO_GC_H__
6 #define __METADATA_MONO_GC_H__
8 #include <mono/metadata/object.h>
12 void mono_gc_collect (int generation
);
13 int mono_gc_max_generation (void);
14 int mono_gc_get_generation (MonoObject
*object
);
15 int mono_gc_collection_count (int generation
);
16 gint64
mono_gc_get_used_size (void);
17 gint64
mono_gc_get_heap_size (void);
18 int mono_gc_invoke_finalizers (void);
22 #endif /* __METADATA_MONO_GC_H__ */