Having a while loop over heap_prepare makes the GC logic difficult to
understand (it is difficult to understand when and why heap_prepare
yields a free page). It is also a source of bugs and can cause an infinite
loop if heap_page never yields a free page.
Remove while loop over heap_prepare
Having a while loop over
heap_prepare
makes the GC logic difficult tounderstand (it is difficult to understand when and why
heap_prepare
yields a free page). It is also a source of bugs and can cause an infinite
loop if
heap_page
never yields a free page.