[svn:parrot] r49528 - branches/generational_gc/src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Wed Oct 13 12:32:01 UTC 2010


Author: bacek
Date: Wed Oct 13 12:32:00 2010
New Revision: 49528
URL: https://trac.parrot.org/parrot/changeset/49528

Log:
Mark writebarriered objects as alive to avoid second marking.

Modified:
   branches/generational_gc/src/gc/gc_ms2.c

Modified: branches/generational_gc/src/gc/gc_ms2.c
==============================================================================
--- branches/generational_gc/src/gc/gc_ms2.c	Wed Oct 13 12:31:34 2010	(r49527)
+++ branches/generational_gc/src/gc/gc_ms2.c	Wed Oct 13 12:32:00 2010	(r49528)
@@ -1743,6 +1743,7 @@
     LIST_REMOVE(self->objects[PObj_to_generation(pmc)], item);
     LIST_APPEND(self->root_objects, item);
     pmc->flags |= PObj_GC_generation_2_FLAG;
+    PObj_live_SET(pmc);
 }
 
 /*


More information about the parrot-commits mailing list