diff options
Diffstat (limited to 'gc.c')
-rw-r--r-- | gc.c | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -859,7 +859,7 @@ heap_increment(rb_objspace_t *objspace) rgengc_report(5, objspace, "heap_increment: heap_inc: %d\n", heap_inc); if (heap_inc > 0) { - heap_assign_slot(objspace); + heap_assign_slot(objspace); heap_inc--; return TRUE; } @@ -2389,8 +2389,6 @@ gc_lazy_sweep(rb_objspace_t *objspace) gc_prof_sweep_timer_start(objspace); - heap_increment(objspace); - slot = objspace->heap.sweep_slots; while (slot) { |