[svn:parrot] r49577 - branches/generational_gc/include/parrot

bacek at svn.parrot.org bacek at svn.parrot.org
Tue Oct 19 09:24:08 UTC 2010


Author: bacek
Date: Tue Oct 19 09:24:08 2010
New Revision: 49577
URL: https://trac.parrot.org/parrot/changeset/49577

Log:
Remove shortcut in mark_PMC_alive.

We are using VTABLE_mark for propagating _live_ objects between generations.
This shortcut does break it.

Modified:
   branches/generational_gc/include/parrot/gc_api.h

Modified: branches/generational_gc/include/parrot/gc_api.h
==============================================================================
--- branches/generational_gc/include/parrot/gc_api.h	Tue Oct 19 08:41:14 2010	(r49576)
+++ branches/generational_gc/include/parrot/gc_api.h	Tue Oct 19 09:24:08 2010	(r49577)
@@ -478,7 +478,7 @@
 
 #if defined(PARROT_IN_CORE)
 #  define Parrot_gc_mark_PMC_alive(interp, obj) \
-      do if (!PMC_IS_NULL(obj) && !PObj_live_TEST(obj)) Parrot_gc_mark_PMC_alive_fun((interp), (obj)); \
+      do if (!PMC_IS_NULL(obj)) Parrot_gc_mark_PMC_alive_fun((interp), (obj)); \
       while (0)
 #else
 #  define Parrot_gc_mark_PMC_alive(interp, obj) Parrot_gc_mark_PMC_alive_fun((interp), (obj))


More information about the parrot-commits mailing list