[Mono-devel-list] [PATCH] GC Profiling Interfaces

Paolo Molaro lupus at ximian.com
Mon Jan 24 10:49:51 EST 2005


On 01/23/05 Ben Maurer wrote:
> I've attached a patch that does everything other than making this heap
> walk based.

The patch had too many issues, still (compilation issue with comma
at the end of the enum, heap_resize event still not 64 bit clean,
callback prototypes were wrong etc.). So I reworked it to make
the code bearable.
mono_object_is_alive () is an exported symbol, but not present in
a public header, because it's unsupported. In your
profiler you can just add:
extern gboolean mono_object_is_alive (MonoObject *obj);
before using it, until we provide the heap walk functionality.

lupus

-- 
-----------------------------------------------------------------
lupus at debian.org                                     debian/rules
lupus at ximian.com                             Monkeys do it better



More information about the Mono-devel-list mailing list