This commit is contained in:
Justin Ethier 2017-01-10 02:46:17 -05:00
parent ede522734b
commit dd7fd5215c

View file

@ -171,7 +171,7 @@ The collector swaps the values of the clear color (white) and the mark color (bl
<img class="doc" src="images/gc-graph-clear.png" alt="Initial object graph">
### Mark
The collector transitions to sync 2 and then async. At this point it marks the global variables and waits for the mutators to also transition to async:
The collector transitions to sync 2 and then async. At this point it marks the global variables and waits for the mutators to also transition to async. When a mutator transitions it will mark its roots and use black as the allocation color to prevent any new objects from being collected during this cycle:
<img class="doc" src="images/gc-graph-mark.png" alt="Initial object graph">