emacs-devel
[Top][All Lists]
Advanced

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

Re: GC and stack marking


From: Paul Eggert
Subject: Re: GC and stack marking
Date: Mon, 19 May 2014 11:47:28 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 05/19/2014 09:31 AM, Eli Zaretskii wrote:
is it possible that a Lisp object which is no longer referenced by anything 
won't be GC'ed because it is marked by mark_stack due to some kind of 
coincidence?

Yes. Normally Emacs uses a conservative approach, which means it occasionally does not collect something that is in fact garbage. See, for example, <https://www.gnu.org/software/guile/manual/html_node/Conservative-GC.html>.

how can we make sure this hash-table indeed gets GC'd before we dump Emacs?


We could have the garbage collector treat purify-flag specially, I suppose.



reply via email to

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