]> git.eshelyaron.com Git - emacs.git/commit
Make pdumper-marking pickier
authorPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 Jul 2021 07:54:32 +0000 (00:54 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sun, 11 Jul 2021 08:30:11 +0000 (01:30 -0700)
commitf6472cc8e2fdcfd7365240783f34e101fe44142b
treef10d8dd8ea9cdd60946d03ee43c1e5ab2b1d697c
parent2f7afef5ffe023a7a12520201ab70643f826abfd
Make pdumper-marking pickier

Prevent some false-positives in conservative GC marking.
This doesn’t fix any correctness bugs; it’s merely to
reclaim some memory instead of keeping it unnecessarily.
* src/alloc.c (mark_maybe_pointer): New arg SYMBOL_ONLY.
All callers changed.  Check that the pointer’s tag, if any,
matches the pdumper-reported type.
src/alloc.c