Testing recursive marking with chain references.

This commit is contained in:
valtermiari 2023-02-23 15:51:29 +01:00 committed by Victor Olin
parent c6463efd51
commit bbd2650445
2 changed files with 13 additions and 11 deletions

View file

@ -182,6 +182,7 @@ namespace GC {
if (!chunk->marked) {
chunk->marked = true;
it = worklist.erase(it);
mark((uintptr_t*) c_start, (uintptr_t*) c_end, worklist);
}
else {
++it;