unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: martin rudalics <rudalics@gmx.at>
Cc: 34404@debbugs.gnu.org, "Braun Gábor" <braungb88@gmail.com>
Subject: bug#34404: 26.1; Finalizer in hash table run early?
Date: Fri, 27 Nov 2020 08:56:33 +0100	[thread overview]
Message-ID: <87mtz3kzbi.fsf@gnus.org> (raw)
In-Reply-To: <366c6cbb-d9fe-d672-12f7-3f04987555ac@gmx.at> (martin rudalics's message of "Thu, 26 Nov 2020 16:45:09 +0100")

martin rudalics <rudalics@gmx.at> writes:

>> 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.

But mark and sweep does not imply conservative -- you can have a mark
and sweep gc that will garbage-collect 100% of the garbage, which a
conservative gc typically will not.

The Emacs documentation seems to imply that Emacs has one of these 100%
garbage collectors, which is what this bug report is about, I think: The
user has an object that the gc should collect, but it's not collected
(always).

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





  reply	other threads:[~2020-11-27  7:56 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
2020-11-27  7:56     ` Lars Ingebrigtsen [this message]
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=87mtz3kzbi.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=34404@debbugs.gnu.org \
    --cc=braungb88@gmail.com \
    --cc=rudalics@gmx.at \
    /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).