GNU bug report logs - #32405
[PATCH] Turn misc objects into pseudovectors

Previous Next

Package: emacs;

Reported by: Paul Eggert <eggert <at> cs.ucla.edu>

Date: Thu, 9 Aug 2018 03:00:02 UTC

Severity: wishlist

Tags: patch

Done: Paul Eggert <eggert <at> cs.ucla.edu>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Pip Cet <pipcet <at> gmail.com>
To: eggert <at> cs.ucla.edu
Cc: 32405 <at> debbugs.gnu.org
Subject: bug#32405: [PATCH] Turn misc objects into pseudovectors
Date: Thu, 9 Aug 2018 06:11:14 +0000
Hello Paul,

I'm still working (as time permits) on precise garbage collection
experiments (my current code doesn't use anything like the Lisp_Type
tag). I think your patch doesn't make things any worse for that,
though it moves special-case code from the main loop of mark_object to
the pseudovector-specific code. Is that right?

I was a bit surprised to see this code:

+      case PVEC_FINALIZER:
+        VECTOR_MARK (ptr);
+        mark_object (XFINALIZER (obj)->function);
+        break;
+

Isn't that precisely what the default code does?

Similarly for bool vectors, misc ptrs, and user ptrs.

Also, I'm curious what ideas you have for the newly freed Lisp_Type tag.




This bug report was last modified 6 years and 341 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.