emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Failing to GC killed buffers considered harmful


From: Eli Zaretskii
Subject: Re: Failing to GC killed buffers considered harmful
Date: Sun, 29 Mar 2020 22:24:29 +0300

> Cc: address@hidden, address@hidden
> From: Daniel Colascione <address@hidden>
> Date: Sun, 29 Mar 2020 12:06:56 -0700
> 
> And yes, you do have to dump killed buffers. If we have a Lisp reference 
> to a buffer and we can't dump buffers, what do we do? Fail the dump? 
> Replace the reference with the integer 5?

I don't think we really have a Lisp reference to a killed buffer.  We
just have some random pointer to it in a random place on the stack.

> Yes, if we just remove the assertion, we'll end up with a dead buffer 
> that's constantly marked because it lives in the pdumper image. So what? 

If there's no better way, sure.  That's easy.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]