Commit b6b7c7fc authored by Paul Eggert's avatar Paul Eggert

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
parent 8e93e6da
Pipeline #3079 failed with stage
in 62 minutes and 44 seconds