Commit 3414f2d8 authored by Richard M. Stallman's avatar Richard M. Stallman

(MAYBE_GC): Test gc_cons_threshold and gc_relative_threshold, one by one.

parent c8e16a02
......@@ -356,7 +356,8 @@ unmark_byte_stack ()
We do this at every branch, to avoid loops that never GC. */
#define MAYBE_GC() \
if (consing_since_gc > gc_cons_combined_threshold) \
if (consing_since_gc > gc_cons_threshold \
&& consing_since_gc > gc_relative_threshold) \
{ \
BEFORE_POTENTIAL_GC (); \
Fgarbage_collect (); \
......
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