Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r1654:783f8ec3b46f
Date: 2015-02-24 16:50 +0100
http://bitbucket.org/pypy/stmgc/changeset/783f8ec3b46f/

Log:    Bug fix: the test removed by 07f882f975d6 was wrong but the point is
        that it should have broken out of the loop. Fix it differently.

diff --git a/c7/stm/forksupport.c b/c7/stm/forksupport.c
--- a/c7/stm/forksupport.c
+++ b/c7/stm/forksupport.c
@@ -220,6 +220,7 @@
             if (endpagenum == NB_PAGES)
                 break;   /* done */
             pagenum = (uninitialized_page_stop - stm_object_pages) / 4096UL;
+            pagenum--;    /* contains data from largemalloc */
             endpagenum = NB_PAGES;
         }
 
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to