[Top][All Lists]

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

Re: Guile bugs

From: Mark H Weaver
Subject: Re: Guile bugs
Date: Fri, 21 Jul 2017 05:17:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux)

Marko Rauhamaa <address@hidden> writes:

> Mark H Weaver <address@hidden>:
>> Marko Rauhamaa <address@hidden> writes:
>>> address@hidden (Ludovic Courtès):
>>>> libgc knows which regions it must scan and mmap’d regions like this
>>>> are not among them.
>>> Wow, where is that documented? I would have imagined it scanned all
>>> writable RAM and CPU registers.
>> It's documented here:
> Please point out the sentence.

Read the "Mark phase" section.  In brief, roots are scanned from the
registers, stack(s), and static data region(s).  The only other areas
scanned are heap areas specifically managed by libgc.  No pointer is
considered valid unless it points to a libgc-managed heap block.


reply via email to

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