Commit 642cd12b authored by Stefan Monnier's avatar Stefan Monnier

(MAYBE_GC): Use gc_cons_combined_threshold.

parent 96f077ad
......@@ -355,13 +355,13 @@ unmark_byte_stack ()
/* Garbage collect if we have consed enough since the last time.
We do this at every branch, to avoid loops that never GC. */
#define MAYBE_GC() \
if (consing_since_gc > gc_cons_threshold) \
{ \
BEFORE_POTENTIAL_GC (); \
Fgarbage_collect (); \
AFTER_POTENTIAL_GC (); \
} \
#define MAYBE_GC() \
if (consing_since_gc > gc_cons_combined_threshold) \
{ \
BEFORE_POTENTIAL_GC (); \
Fgarbage_collect (); \
AFTER_POTENTIAL_GC (); \
} \
else
/* Check for jumping out of range. */
......
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