[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Not protecting Lisp objects from GC
From: |
Gerd Möllmann |
Subject: |
Re: Not protecting Lisp objects from GC |
Date: |
Mon, 27 Jan 2025 14:26:42 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) |
Eli Zaretskii <eliz@gnu.org> writes:
>> Anyone, please stop doing this. It's *BAD*.
>
> Gerd,
>
> No one is disagreeing with you, at least not IMO.
That's good to hear, thanks.
> I'm not aware of any code we added lately that consciously avoids
> GC-protecting data which should be protected. We may have existing
> code which does that, yes, and when we find it, we generally try to
> plug those holes,
The comment you added mentions a case where DEFVAR_LISP_NOPRO is used in
exactly the way I described. That needs to be fixed! Just adding a
comment is accepting it, and is worse than as writing such code in the
first place. The old GC won't go away for many years.
- Not protecting Lisp objects from GC, Gerd Möllmann, 2025/01/27
- Re: Not protecting Lisp objects from GC, Stefan Kangas, 2025/01/27
- Re: Not protecting Lisp objects from GC, Eli Zaretskii, 2025/01/27
- Re: Not protecting Lisp objects from GC,
Gerd Möllmann <=
- Re: Not protecting Lisp objects from GC, Eli Zaretskii, 2025/01/27
- Re: Not protecting Lisp objects from GC, Gerd Möllmann, 2025/01/27
- Re: Not protecting Lisp objects from GC, Eli Zaretskii, 2025/01/27
- Re: Not protecting Lisp objects from GC, Gerd Möllmann, 2025/01/27
- Re: Not protecting Lisp objects from GC, Eli Zaretskii, 2025/01/27
- Re: Not protecting Lisp objects from GC, Gerd Möllmann, 2025/01/27
- Re: Not protecting Lisp objects from GC, Eli Zaretskii, 2025/01/27
- Re: Not protecting Lisp objects from GC, Gerd Möllmann, 2025/01/27
- Re: Not protecting Lisp objects from GC, tomas, 2025/01/27
- Re: Not protecting Lisp objects from GC, Gerd Möllmann, 2025/01/27