From deae1693d597a88694776fa9720f804c60932707 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Wed, 23 Dec 2015 23:02:38 -0500 Subject: [PATCH] Updated header comments --- gc.c | 12 ++++++++---- runtime.c | 2 +- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/gc.c b/gc.c index 9b7a3544..d8a8fbc1 100644 --- a/gc.c +++ b/gc.c @@ -1,13 +1,17 @@ /** * Cyclone Scheme - * Copyright (c) 2015, Justin Ethier + * Copyright (c) 2015-2016, Justin Ethier * All rights reserved. * - * Primary garbage collector used by the Cyclone runtime. - * Based on the tracing GC algorithm from: - * "Implementing an on-the-fly garbage collector for Java", by Domani et al. + * Heap garbage collector used by the Cyclone runtime for major collections. + * + * Tracing GC algorithm is based on the one from "Implementing an on-the-fly + * garbage collector for Java", by Domani et al. * * The heap implementation (alloc / sweep, etc) is based on code from Chibi Scheme. + * + * Note there is also a minor GC (in runtime.c) that collects objects allocated + * on the stack, based on "Cheney on the MTA" (but without the copying collector). */ #include diff --git a/runtime.c b/runtime.c index f76bfe83..4c75f091 100644 --- a/runtime.c +++ b/runtime.c @@ -1,6 +1,6 @@ /** * Cyclone Scheme - * Copyright (c) 2014, Justin Ethier + * Copyright (c) 2014-2016, Justin Ethier * All rights reserved. * * This file contains the C runtime used by compiled programs.