[Mono-dev] Issues with GC due to libgc
vargaz at gmail.com
Tue Sep 29 15:06:55 EDT 2009
You can run with
to allow typed allocation in the non-root domain when using boehm gc.
On Tue, Sep 29, 2009 at 8:28 PM, Miguel de Icaza <miguel at novell.com> wrote:
> > On Mon, Sep 28, 2009 at 11:41 PM, Miguel de Icaza <miguel at novell.com>
> > > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mono-devel-list