From 4923c7c3ae0b999fc8ec2cd0ad0675b5c26ca42e Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 10 Jan 2017 02:46:41 -0500 Subject: [PATCH] "mark" instead of gray, to clarify behavior --- docs/Garbage-Collector.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Garbage-Collector.md b/docs/Garbage-Collector.md index ce760db4..1b52d204 100644 --- a/docs/Garbage-Collector.md +++ b/docs/Garbage-Collector.md @@ -168,7 +168,7 @@ The collector swaps the values of the clear color (white) and the mark color (bl 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. 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: +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: Initial object graph