mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-17 01:34:21 +00:00
Set dump_public.start to some place outside of the GC heap
The idea is to reduce the probability for stray pointers on the stack. pdumper_object_p uses dump_public.start and pdumper_object_p is called quite frequently, e.g. by xfree. * src/pdumper.c (pdumper_load): Set dump_public.start to ~0.
This commit is contained in:
parent
cfe464d2ed
commit
81b80cee65
1 changed files with 1 additions and 1 deletions
|
|
@ -6258,7 +6258,7 @@ pdumper_load (const char *dump_filename, char *argv0)
|
|||
|
||||
#ifdef HAVE_MPS
|
||||
/* From now on, pdumper_object_p returns false. */
|
||||
dump_public.end = dump_public.start;
|
||||
dump_public.end = dump_public.start = ~0;
|
||||
#endif
|
||||
|
||||
initialized = true;
|
||||
|
|
|
|||
Loading…
Reference in a new issue