GNU bug report logs - #78917
feature/igc [PATCH] Avoid chaining finalizers together

Previous Next

Package: emacs;

Reported by: Helmut Eller <eller.helmut <at> gmail.com>

Date: Sat, 28 Jun 2025 04:44:01 UTC

Severity: normal

Tags: patch

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Helmut Eller <eller.helmut <at> gmail.com>
To: bug-gnu-emacs <at> gnu.org
Subject: feature/igc [PATCH] Avoid chaining finalizers together
Date: Sat, 28 Jun 2025 06:42:45 +0200
[Message part 1 (text/plain, inline)]
Lisp_Finalizers are currently chained together in a doubly linked list.
This prevents them from being collected.  I propose that we simply don't
use this list with MPS.

The first patch is minimalistic: it only skips finalizer_insert when
creating finalizers.

The second patch is more thorough: it #ifdefs away the prev/next fields
entirely.

[0001-Avoid-chaining-finalizers-together.patch (text/x-diff, attachment)]
[0002-For-MPS-ifdef-away-the-prev-next-fields-in-Lisp_Fina.patch (text/x-diff, attachment)]

This bug report was last modified 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.