summaryrefslogtreecommitdiff
path: root/lisp/calc
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2019-09-07 18:08:12 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2019-09-07 18:08:44 -0700
commitb6b7c7fc985eaadef2f059fac4442d23a3b706de (patch)
tree6656c932098f554e9791abbea18b6c457ac665f8 /lisp/calc
parent8e93e6da7cda4de82e3532cf74fc585451641398 (diff)
downloademacs-b6b7c7fc985eaadef2f059fac4442d23a3b706de.tar.gz
emacs-b6b7c7fc985eaadef2f059fac4442d23a3b706de.tar.bz2
emacs-b6b7c7fc985eaadef2f059fac4442d23a3b706de.zip
Fix bug when gc-cons-percentage is bumped to 0.8
Problem reported by Michael Heerdegen (Bug#37321). * src/alloc.c (gc_threshold): New static var. (bump_consing_until_gc): Change args from DIFF to THRESHOLD and PERCENTAGE. All uses changed. When accounting for a changed gc-cons-percentage, do not assume that total_bytes_of_live_objects returns the same value now that it did the last time we were called.
Diffstat (limited to 'lisp/calc')
0 files changed, 0 insertions, 0 deletions