Author: Armin Rigo <[email protected]>
Branch: copy-over-original2
Changeset: r457:bebb0740fe44
Date: 2013-07-26 19:44 +0200
http://bitbucket.org/pypy/stmgc/changeset/bebb0740fe44/

Log:    I think this is necessary, but I don't manage to write a test

diff --git a/c4/gcpage.c b/c4/gcpage.c
--- a/c4/gcpage.c
+++ b/c4/gcpage.c
@@ -302,8 +302,10 @@
         /* the h_original may be protected, or private_from_protected,
            in some cases.  Then we can't use it.  We'll use the most
            recent h_revision which is public. */
-        if (!(original->h_tid & GCFLAG_PUBLIC))
+        if (!(original->h_tid & GCFLAG_PUBLIC)) {
+            original->h_tid |= GCFLAG_MARKED;
             original = NULL;
+        }
     }
     else
         original = obj;
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to