[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#34404: 26.1; Finalizer in hash table run early?
From: |
Lars Ingebrigtsen |
Subject: |
bug#34404: 26.1; Finalizer in hash table run early? |
Date: |
Fri, 27 Nov 2020 08:56:33 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
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