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

bacek at svn.parrot.org bacek at svn.parrot.org
Mon Oct 25 03:22:16 UTC 2010


Author: bacek
Date: Mon Oct 25 03:22:15 2010
New Revision: 49665
URL: https://trac.parrot.org/parrot/changeset/49665

Log:
Disable short-cut in mark_PObj_alive. It's conflicting with moving objects between generations.

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

Modified: branches/generational_gc/src/gc/api.c
==============================================================================
--- branches/generational_gc/src/gc/api.c	Mon Oct 25 03:21:11 2010	(r49664)
+++ branches/generational_gc/src/gc/api.c	Mon Oct 25 03:22:15 2010	(r49665)
@@ -118,8 +118,10 @@
     ASSERT_ARGS(Parrot_gc_mark_PObj_alive)
 
     /* if object is live or on free list return */
-    if (PObj_is_live_or_free_TESTALL(obj))
-        return;
+    // FIXME Disable this logic. We use MARK for moving objects
+    // between generations. And they are definitely alive.
+    //if (PObj_is_live_or_free_TESTALL(obj))
+    //    return;
 
     if (PObj_is_PMC_TEST(obj)) {
         interp->gc_sys->mark_pmc_header(interp, (PMC*) obj);


More information about the parrot-commits mailing list