bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#34404: 26.1; Finalizer in hash table run early?


From: martin rudalics
Subject: bug#34404: 26.1; Finalizer in hash table run early?
Date: Thu, 26 Nov 2020 16:45:09 +0100

> This does seem like a bug...  if Emacs is using a mark-and-sweep garbage
> collector, which I thought it did.  But Andreas (in a different bug
> report) seemed to imply that Emacs uses a conservative garbage collector
> these days, and I see that there's some talk about that in the source
> code, but...  it's documented to be a mark-and-sweep gc.
>
> So now I'm confused: Is Emacs still using a pure mark-and-sweep gc as
> the Emacs Internals section of the elisp manual says?

Conservative implies mark and sweep.  You can't relocate objects in the
heap because that would invalidate any pointers from the stack.

martin





reply via email to

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