[Mono-dev] sgen gc & ephemerons arrays bug

Rodrigo Kumpera kumpera at gmail.com
Tue Nov 22 14:55:45 EST 2011


Thanks for the patch, I've applied it with a regression test and some
comments on
the why's.



On Tue, Nov 22, 2011 at 2:08 PM, Gleb Golubitsky <sectoid at gnolltech.org>wrote:

> Hi all,
>
> I met a problem when tryed to run my application with SGen GC. Googling
> for similar problems led me to bug [1] describing very similar
> problem. The is marked as RESOLVED but it's actually not. I've
> reproduced the bug on both mono-2.10 and master branches HEADs.
>
> Here is a patch A patch solving the problem. It's against current
> mono-2.10 branch but can be adopted to master easily.
>
> The patch is very simple -- it doesn't allow GC to skip scanning all
> ephemerons
> arrays basing only on an array address. Such skips are big mistake, bcs if
> an
> array allocated in different region it can contain references to the
> region we
> scanning. So it's necessary to scan all available arrays.
>
> Applying patch fixes problem (test case passes well).
>
> --
> WBR,
> Gleb Golubitsky
> Gnolltech
>
>
>
>
> _______________________________________________
> 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/20111122/fe61d2a3/attachment.html 


More information about the Mono-devel-list mailing list