From b6dc8c8285b6252ce8f9fdda4c40d6c2e6c62e78 Mon Sep 17 00:00:00 2001 From: Justin Ethier Date: Tue, 24 Nov 2015 23:18:24 -0500 Subject: [PATCH] Added notes --- include/cyclone/types.h | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/include/cyclone/types.h b/include/cyclone/types.h index c3c7ab45..5bfba6a1 100644 --- a/include/cyclone/types.h +++ b/include/cyclone/types.h @@ -67,7 +67,12 @@ typedef struct gc_free_list_t gc_free_list; struct gc_free_list_t { // somehow this size param is being overwritten by a "mark() =". // how could that happen? -unsigned int dummy; // just for testing/evaluation +somehow it appears free list pointers are being used where heap objects are +expected. could this be as simple as objects being sweeped that should not +have been? unfortunately it is harder to figure how why the objects were +sweeped. were they not marked properly? is there a race condition? maybe +more than one issue? what is going on? +unsigned int dummy; // just for testing/evaluation, this line is NOT a fix!! unsigned int size; gc_free_list *next; };