GNU bug report logs -
#36649
27.0.50; pure space and pdumper
Previous Next
Reported by: Pip Cet <pipcet <at> gmail.com>
Date: Sun, 14 Jul 2019 14:27:01 UTC
Severity: wishlist
Tags: patch
Found in version 27.0.50
Done: Pip Cet <pipcet <at> protonmail.com>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 36649 <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
On Sun, Jul 21, 2019 at 1:44 PM Robert Pluim <rpluim <at> gmail.com> wrote:
> >>>>> On Sun, 21 Jul 2019 12:53:21 +0000, Pip Cet <pipcet <at> gmail.com> said:
> Pip> I think we should do (1) for now, since it simplifies the code enough
> Pip> to introduce immutable objects "soon"; but until that time, we waste
> Pip> more space on duplicate objects that we no longer know to be
> Pip> immutable, so cannot merge.
>
> Pip> I'm attaching a first patch that removes pure space, pinned symbols,
> Pip> pinned objects, but keeps Fpurecopy (for hash consing), and doesn't
> Pip> touch the Lisp codebase.
>
> This doesnʼt build for me on macOS. After adjusting the parameters to
> the call to make_hash_table in image.c, it crashes when dumping:
Thanks for testing! Indeed, I'd only verified it builds here.
My first guess is there's a symbol in the obarray which used to be
pinned, but is now collected before it is interned.
Can you try with the attached patch relative to the one I'd sent
before, and see what the output is?
[0001-debugging-changes.patch (text/x-patch, attachment)]
This bug report was last modified 199 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.