Re: GC/grey pages question
Paolo Bonzini <[email protected]>
| Newsgroups | gmane.comp.lang.smalltalk.gnu.general |
|---|---|
| Message-ID | <[email protected]> |
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. Paolo