From b3af3aff731eda516decaa26d33813b944d95679 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 29 Oct 2015 21:53:21 -0400 Subject: [PATCH] Added note --- gc.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gc.c b/gc.c index 2dd8f976..1ef1f329 100644 --- a/gc.c +++ b/gc.c @@ -544,6 +544,8 @@ void gc_mark_black(object obj) // Gray any child objects // Note we probably should use some form of atomics/synchronization // for cons and vector types, as these pointers could change. + // Also this is a case for adding the stack/heap bit, because these could + // be stack objects if a thread issued an update. switch(type_of(obj)) { case cons_tag: { gc_collector_mark_gray(car(obj));