From 78c43faf74adb66bd5ad5f7eb45b6f20336007bf Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Mon, 9 Jan 2017 22:04:39 -0500 Subject: [PATCH] WIP --- docs/Writing-the-Cyclone-Scheme-Compiler-Revised-2017.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Writing-the-Cyclone-Scheme-Compiler-Revised-2017.md b/docs/Writing-the-Cyclone-Scheme-Compiler-Revised-2017.md index f18b68ad..8eb4607f 100644 --- a/docs/Writing-the-Cyclone-Scheme-Compiler-Revised-2017.md +++ b/docs/Writing-the-Cyclone-Scheme-Compiler-Revised-2017.md @@ -244,7 +244,7 @@ Heap objects are not relocated, making it easier for the runtime to support nati ### Major Garbage Collection Algorithm -During a major GC the collector thread transitions through the following states. +Each object is marked with a specific color (white, gray, or black) that determines how it will be handled during a major collection. Major GC transitions through the following states: #### Clear The collector thread swaps the values of the clear color (white) and the mark color (black). This is more efficient than modifying the color on each object in the heap. The collector then transitions to sync 1. At this point no heap objects are marked, as demonstrated below: