* src/mm/cacao-gc/rootset.h (rootset_entry_t) Added. Rootsets can be resized.
[cacao.git] / src / mm / cacao-gc / compact.c
index e5c1420e63acd732264e4a1a8b7e7654695f879b..9c8c627842c2f0a548968b8835ac48e06a34f4b1 100644 (file)
@@ -79,7 +79,7 @@ static void compact_thread_rootset(rootset_t *rs, void *start, void *end)
                for (i = 0; i < rs->refcount; i++) {
 
                        /* load the reference */
-                       refptr = rs->refs[i];
+                       refptr = rs->refs[i].ref;
                        ref = *( refptr );
 
                        GC_LOG2( printf("\troot pointer to %p\n", (void *) ref); );