[Mono-dev] Ephemeron support for sgen
Rodrigo Kumpera
kumpera at gmail.com
Tue Apr 27 11:41:16 EDT 2010
On Mon, Apr 26, 2010 at 9:21 PM, Mark Probst <mark.probst at gmail.com> wrote:
> On Mon, Apr 26, 2010 at 10:25 PM, Rodrigo Kumpera <kumpera at gmail.com>
> wrote:
> > Once this is properly working, two additional improvements should be
> done.
> > Split the registered arrays in two, for nursery and oldgen and use remset
> > information to know which old gen arrays needs to be scanned.
>
> I doubt scanning old-gen arrays during the nursery collection is worth
> the trouble - it might even be counterproductive in terms of
> performance. I'd just leave remsets as they are. If they lead to a
> few nursery objects to be promoted unnecessarily, big deal.
>
>
The problem with old gen arrays is due to their content not been marked it
might end up pointing to freed memory.
But it makes sense that during minor gc we scan them only once and just
assume that they point to reachable memory.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/mono-devel-list/attachments/20100427/834a8972/attachment.html
More information about the Mono-devel-list
mailing list