From d3df54f903cbf3b9f598ae11157ba37787dae7b3 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Fri, 27 Jul 2018 13:19:16 -0400 Subject: [PATCH] Fixup wording --- docs/Garbage-Collector-Lazy-Sweeping.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/Garbage-Collector-Lazy-Sweeping.md b/docs/Garbage-Collector-Lazy-Sweeping.md index 9ecaa93f..0166e608 100644 --- a/docs/Garbage-Collector-Lazy-Sweeping.md +++ b/docs/Garbage-Collector-Lazy-Sweeping.md @@ -36,7 +36,7 @@ In the latest version of Cyclone Scheme (0.9) we have modified major GC to use l - Heap - A section of dynamic memory managed by the garbage collector. The heap is not stored as a single contiguous block but rather is broken up into a series of pages. - Mutator - A thread running user (or "application") code; there may be more than one mutator running concurrently. - Root - During tracing the collector uses these objects as the starting point to find all reachable data. -- Sweep - A phase of garbage collection where the heap - either the whole heap or a subset - is scanned and any free slots are freed. +- Sweep - A phase of garbage collection where the heap - either the whole heap or a subset - is scanned and any unused slots are made available for new allocations. - Tracing - A phase of garbage collection that visits and marks all live objects on the heap. This is done by starting from a set of "root" objects and iteratively following references to child objects. # Marking Objects