[pypy-commit] stmgc c8-private-pages: kill assert (not sure if it can be fixed easily)

Raemi noreply at buildbot.pypy.org
Mon Jan 19 16:09:57 CET 2015


Author: Remi Meier <remi.meier at inf.ethz.ch>
Branch: c8-private-pages
Changeset: r1545:50887be70049
Date: 2015-01-19 13:48 +0100
http://bitbucket.org/pypy/stmgc/changeset/50887be70049/

Log:	kill assert (not sure if it can be fixed easily)

diff --git a/c8/stm/core.c b/c8/stm/core.c
--- a/c8/stm/core.c
+++ b/c8/stm/core.c
@@ -270,7 +270,9 @@
     /* Don't check this 'cl'. This entry is already checked */
 
     if (STM_PSEGMENT->transaction_state == TS_INEVITABLE) {
-        assert(first_cl->next == INEV_RUNNING);
+        //assert(first_cl->next == INEV_RUNNING);
+        /* the above assert may fail when running a major collection
+           while the commit of the inevitable transaction is in progress */
         return true;
     }
 


More information about the pypy-commit mailing list