Project

General

Profile

« Previous | Next » 

Revision fd0df1f8

Added by peterzhu2118 (Peter Zhu) almost 2 years ago

Fix growth in minor GC when we have initial slots

If initial slots is set, then during a minor GC, if we have allocatable
pages but the heap is mostly full, then we will set grow_heap to true
since total_slots does not count allocatable pages so it will be less
than init_slots. This can cause allocatable_pages to grow to much
higher than desired since it will appear that the heap is mostly full.