[svn:parrot] r47146 - branches/gc_massacre/src/gc

bacek at svn.parrot.org bacek at svn.parrot.org
Sun May 30 11:21:06 UTC 2010


Author: bacek
Date: Sun May 30 11:21:06 2010
New Revision: 47146
URL: https://trac.parrot.org/parrot/changeset/47146

Log:
Use mark_PMC_alive during tracing of system stack.

Modified:
   branches/gc_massacre/src/gc/system.c

Modified: branches/gc_massacre/src/gc/system.c
==============================================================================
--- branches/gc_massacre/src/gc/system.c	Sun May 30 11:20:24 2010	(r47145)
+++ branches/gc_massacre/src/gc/system.c	Sun May 30 11:21:06 2010	(r47146)
@@ -461,7 +461,7 @@
              * had their bufstart/vtable destroyed due to the linked list of
              * free headers... */
             if ((pmc_min <= ptr) && (ptr < pmc_max) && is_pmc_ptr(mem_pools, (void *)ptr)) {
-                Parrot_gc_mark_PObj_alive(interp, (PObj *)ptr);
+                Parrot_gc_mark_PMC_alive(interp, (PMC *)ptr);
             }
             else if ((buffer_min <= ptr) && (ptr < buffer_max) &&
                     is_buffer_ptr(mem_pools, (void *)ptr)) {


More information about the parrot-commits mailing list