Avoid unnecessary pointer scanning in garbage collection (Bug#10780).
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Apr 2012 19:18:52 +0000 (12:18 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 7 Apr 2012 19:18:52 +0000 (12:18 -0700)
commite3fb2efb80ee8beebf7963228c4508496ebf24fa
treea33a72f2745695e3e328a24ca8bbcd43bf8499d1
parentb5385551e363e616cc8bbe067d7a8b3587ac175e
Avoid unnecessary pointer scanning in garbage collection (Bug#10780).

* alloc.c (POINTERS_MIGHT_HIDE_IN_OBJECTS): New macro.
(mark_memory): Mark Lisp_Objects only if pointers might hide in
objects, as mark_maybe_pointer will catch them otherwise.
(GC_LISP_OBJECT_ALIGNMENT): Remove; no longer needed.
* s/gnu-linux.h (GC_LISP_OBJECT_ALIGNMENT) [__mc68000__]: Likewise.
src/ChangeLog
src/alloc.c
src/s/gnu-linux.h