diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2019-09-03 13:03:34 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2019-09-03 13:03:47 -0700 |
commit | 97ffa339b6d67cebcbefbdfaa2880214adab639c (patch) | |
tree | dcc425367088b475426c1b385f99de83c96ee70b /lisp/emacs-lisp/edebug.el | |
parent | c34dbd80e72204cd0ac65254ff3145dbd916f5c5 (diff) | |
download | emacs-97ffa339b6d67cebcbefbdfaa2880214adab639c.tar.gz emacs-97ffa339b6d67cebcbefbdfaa2880214adab639c.tar.bz2 emacs-97ffa339b6d67cebcbefbdfaa2880214adab639c.zip |
Sync consing_until_gc with gc-cons-threshold
Add watchers for gc-cons-threshold and gc-cons-percentage
that update consing_until_gc accordingly.
Suggested by Eli Zaretskii (Bug#37006#52).
* src/alloc.c (consing_threshold, bump_consing_until_gc)
(watch_gc_cons_threshold, watch_gc_cons_percentage):
New functions.
(garbage_collect_1): Use consing_threshold.
(syms_of_alloc): Arrange to watch gc-cons-threshold and
gc-cons-percentage.
Diffstat (limited to 'lisp/emacs-lisp/edebug.el')
0 files changed, 0 insertions, 0 deletions