diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2020-06-03 18:58:45 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2020-06-03 19:00:04 -0700 |
commit | 638ef457876c14b9d713e2fa991f5db3ad53c4f9 (patch) | |
tree | 29d98738fba3a107a1916918c2892ac04d65eaeb /lisp/emacs-lisp/cl-lib.el | |
parent | 65749436d03fd0b9e379dcc06cc678522c6960cf (diff) | |
download | emacs-638ef457876c14b9d713e2fa991f5db3ad53c4f9.tar.gz emacs-638ef457876c14b9d713e2fa991f5db3ad53c4f9.tar.bz2 emacs-638ef457876c14b9d713e2fa991f5db3ad53c4f9.zip |
Don’t default to Valgrind unless ENABLE_CHECKING
* src/alloc.c (USE_VALGRIND): If not defined, don’t default it to
1 unless ENABLE_CHECKING. The Valgrind hooks bloat the garbage
collector a bit in production, and there’s no need for them these
days if one has a Valgrind suppressions file (which one needs anyway).
(mark_maybe_pointer): Use ‘#if USE_VALGRIND’ instead of ‘#ifdef
USE_VALGRIND’ for consistency with other uses of USE_VALGRIND.
This is in case someone builds with ‘-DENABLE_CHECKING
-DUSE_VALGRIND=0’ in CFLAGS.
Diffstat (limited to 'lisp/emacs-lisp/cl-lib.el')
0 files changed, 0 insertions, 0 deletions