[pypy-commit] stmgc default: Skip this assert, after discussion with Remi.

arigo noreply at buildbot.pypy.org
Mon Sep 9 09:46:52 CEST 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r525:698910c9edc3
Date: 2013-09-09 09:46 +0200
http://bitbucket.org/pypy/stmgc/changeset/698910c9edc3/

Log:	Skip this assert, after discussion with Remi.

diff --git a/c4/gcpage.c b/c4/gcpage.c
--- a/c4/gcpage.c
+++ b/c4/gcpage.c
@@ -503,7 +503,9 @@
     G2L_LOOP_FORWARD(registered_stubs, item) {
         gcptr R = item->addr;
         assert(R->h_tid & GCFLAG_SMALLSTUB);
-        assert(!(R->h_tid & (GCFLAG_VISITED | GCFLAG_MARKED)));
+        /* The following assert can fail if we have a stub pointing to
+           a stub and both are registered_stubs.  This case is benign. */
+        //assert(!(R->h_tid & (GCFLAG_VISITED | GCFLAG_MARKED)));
 
         R->h_tid |= (GCFLAG_MARKED | GCFLAG_VISITED);
 


More information about the pypy-commit mailing list