Problem reported by Eli Zaretskii (Bug#37006#25).
* src/alloc.c (garbage_collect_1): Fix typo in threshold calc.
Go back to dividing by 10 since the numerator’s a constant now.
Problem introduced in 2019-07-21T02:40:03Z!eggert@cs.ucla.edu.
consing_until_gc = memory_full_cons_threshold;
else
{
- intptr_t threshold = min (max (GC_DEFAULT_THRESHOLD,
- gc_cons_threshold >> 3),
+ intptr_t threshold = min (max (GC_DEFAULT_THRESHOLD / 10,
+ gc_cons_threshold),
OBJECT_CT_MAX);
if (FLOATP (Vgc_cons_percentage))
{