[Mono-dev] Issues with GC due to libgc
Miguel de Icaza
miguel at novell.com
Tue Sep 29 14:28:03 EDT 2009
> On Mon, Sep 28, 2009 at 11:41 PM, Miguel de Icaza <miguel at novell.com> wrote:
> > The problem with AppDomains is that upon unloading there is a potential
> > for leaking vtables, something that I do not particular think is as
> > important as being able to scan the AppDomains precisely.
> This is one of the main problems I'm fighting with in getting SGen to
> work - SGen always scans based on the VTables, so any leakage kills
> it. The situation is much better already but there still seem to be a
> few cases where objects can leak beyond their domains.
Correct me if I am wrong, but Ben once did a patch that used typed
allocation for all AppDomains (not only the root one).
If I remember correctly the problem was that to avoid crashing we would
have to leak any vtables that were created on the AppDomain, as we did
not have have a way of tracking all objects that might still point to
I am not sure I understand from the description above how would leaking
the vtables kill SGen.
More information about the Mono-devel-list