GNU bug report logs - #36649
27.0.50; pure space and pdumper

Previous Next

Package: emacs;

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


View this message in rfc822 format

From: Paul Eggert <eggert <at> cs.ucla.edu>
To: Pip Cet <pipcet <at> gmail.com>
Cc: 36649 <at> debbugs.gnu.org
Subject: bug#36649: 27.0.50; pure space and pdumper
Date: Sun, 21 Jul 2019 00:28:11 -0700
> I think we have the following options:
> 
> 1. remove pure space entirely
> 2. remove pure space, but leave PURE_P and CHECK_IMPURE as reminders
> to do something about it.
> 3. move pure space to BSS
> 4. xmalloc() pure space, only when needed
> 5. modify pdumper to mark and recognize pure objects
> 6. do nothing and accept the wastefulness

I suggest (1), since it will result in simpler code. Although (2) would be OK 
too, if we ever introduce immutable objects it's likely that PURE_P and/or 
CHECK_IMPURE will just get in the way anyway. We can see a hint of that in my 
patch today that added temporary immutability to hash tables to fix a core-dump bug.




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.