[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Preview: portable dumper
From: |
Daniel Colascione |
Subject: |
Re: Preview: portable dumper |
Date: |
Tue, 29 Nov 2016 09:49:59 -0800 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
On Tue, Nov 29 2016, Eli Zaretskii wrote:
>> From: Richard Stallman <address@hidden>
>> CC: address@hidden, address@hidden, address@hidden
>> Date: Tue, 29 Nov 2016 11:48:40 -0500
>>
>> > Frame and window objects come back dead after being restored from the
>> dump.
>>
>> Can that be fixed by creating new equivalent windows and frames?
>
> I'm actually wondering why frames and windows (and buffers, for that
> matter) need to be dumped at all. The fact we do that now is just an
> artifact of how unexec works: it dumps the entire data section. We
> even have special code that runs at startup to undo some of the
> peculiarities this causes.
>
> However, a dumper that we control by manually telling it what to dum
> and what not doesn't have to do that. IMO, that's just something that
> doesn't need to exist in the brave new unexec-free world. (Note that
> the "one huge .elc file" method has this built-in.)
Frames and windows aren't dumped. That's why they come back as
dead objects. Lisp objects have to point to *something*, and a dead
object of the right type is a good placeholder.
- Re: Preview: portable dumper, (continued)
- Re: Preview: portable dumper, John Wiegley, 2016/11/28
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/28
- Re: Preview: portable dumper, Burton Samograd, 2016/11/28
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/28
- Re: Preview: portable dumper, Ted Zlatanov, 2016/11/29
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/29
- Re: Preview: portable dumper, Richard Stallman, 2016/11/29
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/29
- Re: Preview: portable dumper, Philippe Vaucher, 2016/11/29
- Re: Preview: portable dumper, Eli Zaretskii, 2016/11/29
- Re: Preview: portable dumper,
Daniel Colascione <=
- Re: Preview: portable dumper, Eli Zaretskii, 2016/11/29
- Re: Preview: portable dumper, John Wiegley, 2016/11/29
- Re: Preview: portable dumper, Eli Zaretskii, 2016/11/29
- Re: Preview: portable dumper, Daniel Colascione, 2016/11/29
- Re: Preview: portable dumper, Eli Zaretskii, 2016/11/29
- Re: Preview: portable dumper, John Wiegley, 2016/11/28
- Re: Preview: portable dumper, Burton Samograd, 2016/11/28
- Re: Preview: portable dumper, Eli Zaretskii, 2016/11/28
Re: Preview: portable dumper, Paul Eggert, 2016/11/28