Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Force page creation, if major GC doesn't free.
[Bug #20762] Prior to 51bd816 this conditional would call `heap_increment` which would always create a new page if one was unavailable to be resurrected. This new code uses heap_page_allocate_and_initialize which does nothing if there are no allocatable slots left in the heap. The reason we've hit this bug is because we've tried to allocate, run a major GC, and been unable to free or resurrect a page. In this instance we should instead use heap_page_allocate_and_initialize_force to force creation of another page.
- Loading branch information