[Mono-dev] Walking all managed objects

Joachim Ante joe at otee.dk
Mon Jul 2 16:19:33 EDT 2007


Is there any way from managed or unmanaged code to iterate through  
all allocated managed objects?
I presume the Garbage collector must have this data somewhere?

I basically want to see which objects are being referenced and then  
unload some unmanaged data based on it.
I don't want to override the finalizer for performance reasons. In  
our situation there are specific times where i can just spend a bunch  
of time on cleanup.

Joachim Ante

More information about the Mono-devel-list mailing list