unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: "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 13:15:45 +0100	[thread overview]
Message-ID: <87sg8wtitq.fsf@gnus.org> (raw)
In-Reply-To: <6151161.jHdu2dTOOM@gabor> ("Braun Gábor"'s message of "Sat, 09 Feb 2019 14:39:57 +0100")

Braun Gábor <braungb88@gmail.com> writes:

> As some of the comments in the test indicate,
> small changes cause the test to pass:
> like omitting the wrapper (ignore...) around (puthash...)
> or just one (garbage-collection) before (should-not...) causes the test
> to pass.

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?

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





  reply	other threads:[~2020-11-26 12:15 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 [this message]
2020-11-26 12:54   ` Andreas Schwab
2020-11-26 14:23   ` Eli Zaretskii
2020-11-26 15:45   ` martin rudalics
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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87sg8wtitq.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=34404@debbugs.gnu.org \
    --cc=braungb88@gmail.com \
    /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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).