all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: martin rudalics <rudalics@gmx.at>
To: "Lars Ingebrigtsen" <larsi@gnus.org>,
	"Braun Gábor" <braungb88@gmail.com>
Cc: 34404@debbugs.gnu.org
Subject: bug#34404: 26.1; Finalizer in hash table run early?
Date: Thu, 26 Nov 2020 16:45:09 +0100	[thread overview]
Message-ID: <366c6cbb-d9fe-d672-12f7-3f04987555ac@gmx.at> (raw)
In-Reply-To: <87sg8wtitq.fsf@gnus.org>

 > 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





  parent reply	other threads:[~2020-11-26 15:45 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-02-09 13:39 bug#34404: 26.1; Finalizer in hash table run early? Braun Gábor
2020-11-26 12:15 ` Lars Ingebrigtsen
2020-11-26 12:54   ` Andreas Schwab
2020-11-26 14:23   ` Eli Zaretskii
2020-11-26 15:45   ` martin rudalics [this message]
2020-11-27  7:56     ` Lars Ingebrigtsen
2020-11-27  8:23       ` Eli Zaretskii
2020-11-27  8:33         ` Lars Ingebrigtsen
2020-11-27  8:42           ` Eli Zaretskii
2020-11-29 10:05             ` Lars Ingebrigtsen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=366c6cbb-d9fe-d672-12f7-3f04987555ac@gmx.at \
    --to=rudalics@gmx.at \
    --cc=34404@debbugs.gnu.org \
    --cc=braungb88@gmail.com \
    --cc=larsi@gnus.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.