Commit 88827614 authored by Paul Eggert's avatar Paul Eggert
Browse files

Fix GC threshold typo

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!
parent c0e720cd
Pipeline #2823 passed with stage
in 54 minutes and 5 seconds
......@@ -5932,8 +5932,8 @@ garbage_collect_1 (struct gcstat *gcst)
consing_until_gc = memory_full_cons_threshold;
intptr_t threshold = min (max (GC_DEFAULT_THRESHOLD,
gc_cons_threshold >> 3),
intptr_t threshold = min (max (GC_DEFAULT_THRESHOLD / 10,
if (FLOATP (Vgc_cons_percentage))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment