Testing recursive marking with chain references.
This commit is contained in:
parent
c6463efd51
commit
bbd2650445
2 changed files with 13 additions and 11 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue