On Sun, Jul 21, 2019 at 1:44 PM Robert Pluim wrote: > >>>>> On Sun, 21 Jul 2019 12:53:21 +0000, Pip Cet 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?