diff --git a/gc.c b/gc.c index 3f4903d836..cc012f9e91 100644 --- a/gc.c +++ b/gc.c @@ -5659,8 +5659,6 @@ gc_sweep_finish_size_pool(rb_objspace_t *objspace, rb_size_pool_t *size_pool) if (extend_page_count > size_pool->allocatable_pages) { size_pool_allocatable_pages_set(objspace, size_pool, extend_page_count); } - - heap_increment(objspace, size_pool, SIZE_POOL_EDEN_HEAP(size_pool)); } } }