From ffa29c34fdd12b79e56993edb389dbf7cf510521 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Wed, 20 Jan 2016 19:28:59 -0500 Subject: [PATCH] Added Code section --- docs/Garbage-Collector.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/docs/Garbage-Collector.md b/docs/Garbage-Collector.md index 994ca71f..65a7b034 100644 --- a/docs/Garbage-Collector.md +++ b/docs/Garbage-Collector.md @@ -4,6 +4,7 @@ - [Introduction](#introduction) - [Terms](#terms) +- [Code](#code) - [Data Structures](#data-structures) - [Heap](#heap) - [Thread Data](#thread-data) @@ -35,6 +36,13 @@ Cyclone supports native threads by using a tracing collector based on the Dolige - Root - The collector begins tracing by marking one or more of these objects. A root object is guaranteed to survive a collection cycle. - Write Barrier - Code that is executed before writing to an object. +# Code + +The goal of this paper is to provide a high-level overview of Cyclone's garbage collector. The implementation code is available in this repository: + +- [`runtime.c`](../runtime.c) contains most of the runtime system, including code to perform minor GC. A good place to start would be the `GC` and `gc_minor` functions. +- [`gc.c`](../gc.c) contains the major GC code. + # Data Structures ## Heap