From ca27d4a5d40e48ebda4245a64108fa1df75698ca Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 10 Nov 2015 22:34:48 -0500 Subject: [PATCH] Added TODO --- gc.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/gc.c b/gc.c index 4976525d..aa29a9a9 100644 --- a/gc.c +++ b/gc.c @@ -709,6 +709,12 @@ void gc_collector() //trace : gc_collector_trace(); gc_stage = STAGE_SWEEPING; + +TODO: before updating sweep to make it work w/new GC, need to +update the heap functions to be thread safe. ideally want to +try to minimize amount of locking - IE, lock on individual ops +IF POSSIBLE, instead of whole operations like 'alloc' and 'sweep'. + // //sweep : // TODO: For each object x in the heap: // TODO: if (color(x) = clearColor)