From fba366c7f9d33180656a1f1064b152ac78b5de1a Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Thu, 15 Oct 2015 18:39:48 -0400 Subject: [PATCH] Added notes --- runtime.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/runtime.c b/runtime.c index 12f50bad..84f51b65 100644 --- a/runtime.c +++ b/runtime.c @@ -2385,6 +2385,11 @@ void GC(cont,ans,num_ans) closure cont; object *ans; int num_ans; - may be able to modify transp macro to do this part can still use write buffer to ensure any heap->stack references are handled + - also want to use this barrier to handle any globals that are re-assigned to + locations on the stack, to ensure they are moved to the heap during GC. + - write barrier really should be per-stack, since OK to leave those items until + stack is collected + - TBD how this works with multiple threads, each with its own stack need to transport: - stack closure/args