[Mono-dev] Issues with GC due to libgc

Zoltan Varga vargaz at gmail.com
Tue Sep 29 15:06:55 EDT 2009


Hi,

  You can run with
MONO_DEBUG=dont-free-domains
to allow typed allocation in the non-root domain when using boehm gc.

             Zoltan

On Tue, Sep 29, 2009 at 8:28 PM, Miguel de Icaza <miguel at novell.com> wrote:

> Hello,
>
> > 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
> this vtable.
>
> I am not sure I understand from the description above how would leaking
> the vtables kill SGen.
>
> _______________________________________________
> Mono-devel-list mailing list
> Mono-devel-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/mono-devel-list
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20090929/610897ee/attachment.html 


More information about the Mono-devel-list mailing list