unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Policy on pure space-related fixes
@ 2022-07-30 11:45 Lynn Winebarger
  2022-07-30 13:27 ` Eli Zaretskii
  0 siblings, 1 reply; 3+ messages in thread
From: Lynn Winebarger @ 2022-07-30 11:45 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 1649 bytes --]

Hi,
I reported a couple of bugs related to pure space.  One was a duplicate
that had been closed as "won't fix".  The other hasn't gotten any response,
though that could be due to the lack of details.
The one closed as "won't fix" (
https://debbugs.gnu.org/cgi/bugreport.cgi?bug=46916) should really be
fixed, even if not by the originally submitted patch.  The response from
Eli that prompted that status was along the lines of "why not just increase
the pure space"?  The answer is: I didn't see any warnings about pure space
being exhausted, even though it turned out I was at least 12MB short.
The fix should just do away with the "small size" increment and allocate
whatever is needed, under the assumption that the user will have to
increase pure space and recompile regardless.  There are too many
assumptions in the code that test purity by distance from the base pure
address to rely on a dump where pure space is exhausted.
The other issue arose from record created by eieio that pun the type of a
class descriptor class to itself.   purecopy does not track cyclic
structures, so diverges and causes a segmentation fault.  I put in a
special case check that prevents the immediate problem, but a real solution
would have to memoize the input structure if the intent of hash consing is
to create singletons and not just read-only constants.  The singleton
property is what seems to be of interest for eieio class descriptor records.
Generally, are fixes to pure space worth submitting, given the plan to
decommission it, or will they just be ignored?  I'm still waiting on
clearance from my employer to submit patches, unfortunately.

Lynn

[-- Attachment #2: Type: text/html, Size: 1996 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-08-02  6:06 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-30 11:45 Policy on pure space-related fixes Lynn Winebarger
2022-07-30 13:27 ` Eli Zaretskii
2022-08-02  6:06   ` Lynn Winebarger

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).