Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix case when gc_marks_continue does not yield slots
gc_marks_continue will start sweeping when it finishes marking. However, if the heap we are trying to allocate into is full, then the sweeping may not yield any free slots. If we don't call gc_sweep_continue immediate after this, then another GC will be started halfway during lazy sweeping. gc_sweep_continue will either grow the heap or finish sweeping.
- Loading branch information