[Mono-dev] Ephemeron support for sgen

Mark Probst mark.probst at gmail.com
Tue Apr 27 11:48:39 EDT 2010


On Tue, Apr 27, 2010 at 5:41 PM, Rodrigo Kumpera <kumpera at gmail.com> wrote:
> The problem with old gen arrays is due to their content not been marked it
> might end up pointing to freed memory.

Maybe I misunderstand, but by scanning the remsets like usual all
nursery objects reachable from old gen arrays would be considered live
and thus promoted.

> But it makes sense that during minor gc we scan them only once and just
> assume that they point to reachable memory.

That's the point of the write barriers - no special casing needed.

Mark


More information about the Mono-devel-list mailing list