Subject: Re: bug#37006: 27.0.50; garbage collection not happening after 26de2d42

From: Mattias Engdegård <[email-masked]>
Date: Mon, 12 Aug 2019 19:00:37 +0200

12 aug. 2019 kl. 18.49 skrev Eli Zaretskii <[email-masked]>:

> [...] We must
> have something in maybe_gc to notice the change and recompute the
> threshold.  We must also notice the memory-full condition there.

What about biasing consing_until_gc by gc_cons_threshold, and change the condition in maybe_gc to (the moral equivalent of)

 if (consing_until_gc < gc_cons_threshold)

? It is practically as cheap as the current test against 0.