diff --git a/mark-sweep.h b/mark-sweep.h index 2c90f48eb..b5219c644 100644 --- a/mark-sweep.h +++ b/mark-sweep.h @@ -306,7 +306,7 @@ static int sweep(struct context *cx) { } cx->sweep = sweep; - return sweep < limit; + return to_reclaim < 128; } static void* allocate_large(struct context *cx, enum alloc_kind kind,