[Top][All Lists]

[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 13:17:40 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0

On 05/19/2014 01:03 PM, Eli Zaretskii wrote:
  The problem, by contrast, sounds more general than that.

Yes, it's a general problem with conservative garbage collection; it's why such garbage collection is called "conservative" rather than "accurate".

If it's essential that GC be accurate, then Emacs shouldn't be using conservative GC. My impression, though, is that the goal is to arrange Emacs's internals so that accurate GC isn't essential. If purify-flag is a counterexample, it's almost surely simpler to change howpurify-flag works than to insist on accurate GC.

What happens if you change this:

(setq purify-flag nil)

to something like this?

(clrhash purify-flag)
(setq purify-flag nil)

reply via email to

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