[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] GC/grey pages question

From: Paolo Bonzini
Subject: Re: [Help-smalltalk] GC/grey pages question
Date: Sat, 04 Oct 2014 18:31:26 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.1.1

Il 27/09/2014 18:01, Holger Hans Peter Freyther ha scritto:
> * We don't seem to mprotect the oldspace but the OOP table? Is
> this correct or am I misguided?

We mprotect the oldspace, not the OOP table, in scan_grey_pages:

  _gst_mem_protect ((PTR) node->base, node->n * sizeof(OOP), PROT_READ);

> * We slowly/never remove entries from the greylist? E.g. even
> after doing ObjectMemory compact the greylist is not empty? Is
> this a bug?

After ObjectMemory compact all newly-allocated pages will be grey
because "grey-ness" is removed lazily on the next GC.  I think
"ObjectMemory compact; globalGc" should remove all grey pages or almost
all of them.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]