[svn:parrot] r38862 - trunk/src

whiteknight at svn.parrot.org whiteknight at svn.parrot.org
Sun May 17 03:06:18 UTC 2009


Author: whiteknight
Date: Sun May 17 03:06:17 2009
New Revision: 38862
URL: https://trac.parrot.org/parrot/changeset/38862

Log:
[gc] IF WE SEE SEGFAULTS IN THE NEXT DAY OR SO, LOOK AT THIS COMMIT. I removed some code that looked unnecessary, with a note that this was a 'work around' for a 'mysterious segfault' thing. If this actually does cause segfaults, we should have a ticket and start collecting information about it.

Modified:
   trunk/src/sub.c

Modified: trunk/src/sub.c
==============================================================================
--- trunk/src/sub.c	Sun May 17 02:57:31 2009	(r38861)
+++ trunk/src/sub.c	Sun May 17 03:06:17 2009	(r38862)
@@ -120,13 +120,8 @@
 
     for (i = 0; i < ctx->n_regs_used[REGNO_STR]; ++i) {
         obj = (PObj *)CTX_REG_STR(ctx, i);
-        if (obj) {
-            /* work around a mysterious segfault-inducing problem we haven't
-             * yet tracked down */
-            PObj_flag_CLEAR(is_PMC, obj);
-            PObj_is_string_SET(obj);
+        if (obj)
             Parrot_gc_mark_PObj_alive(interp, obj);
-        }
     }
 }
 


More information about the parrot-commits mailing list