Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix mark overflow for regions (#53929)
Test GC\Scenarios\Boxing\variantlinklist\variantlinklist encountered a mark stack overflow that we didn't handle correctly in the regions case. The problem was that this was a gen 2 GC, and we didn't iterate over the gen 0 and gen 1 regions, so the objects causing the mark stack overflow were in fact not revisited. The fix is to iterate starting from gen 0 rather than the condemned generation. I added an assert to make sure process_mark_overflow_internal has found at least one marked object to process - unfortunately, we can check this only for WKS GC.
- Loading branch information