[svn:parrot] r49740 - branches/gc_ms2_sf/src/gc

chromatic at svn.parrot.org chromatic at svn.parrot.org
Sat Oct 30 23:06:17 UTC 2010


Author: chromatic
Date: Sat Oct 30 23:06:17 2010
New Revision: 49740
URL: https://trac.parrot.org/parrot/changeset/49740

Log:
[GC] Skip system stack tracing of constant GCables.

As they're already on the right list, they don't need marking from the
imprecise marker.

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

Modified: branches/gc_ms2_sf/src/gc/gc_ms2.c
==============================================================================
--- branches/gc_ms2_sf/src/gc/gc_ms2.c	Sat Oct 30 23:06:14 2010	(r49739)
+++ branches/gc_ms2_sf/src/gc/gc_ms2.c	Sat Oct 30 23:06:17 2010	(r49740)
@@ -1354,6 +1354,9 @@
     if (PObj_is_live_or_free_TESTALL(obj))
         return 0;
 
+    if (PObj_constant_TEST(obj))
+        return 0;
+
     /* Pool.is_owned isn't precise enough (yet) */
     if (Parrot_list_contains(interp, list, item))
         return 1;


More information about the parrot-commits mailing list