Clarify mutator behavior on async transition

This commit is contained in:
Justin Ethier 2017-01-10 02:44:36 -05:00
parent 07c9a61c35
commit d038300f46

View file

@ -168,7 +168,7 @@ The collector swaps the values of the clear color (white) and the mark color (bl
<img 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 gray its roots and use black as the allocation color to prevent any new objects from being collected during this cycle:
<img src="images/gc-graph-mark.png" alt="Initial object graph">