Author: Armin Rigo <[email protected]>
Branch: c7-more-segments
Changeset: r1032:4dc5acd4c8e0
Date: 2014-03-16 10:40 +0100
http://bitbucket.org/pypy/stmgc/changeset/4dc5acd4c8e0/

Log:    Fix for non-STM_TESTS cases

diff --git a/c7/stm/core.c b/c7/stm/core.c
--- a/c7/stm/core.c
+++ b/c7/stm/core.c
@@ -106,7 +106,8 @@
     }
 
     /* check that we really have a private page */
-    assert(_stm_get_private_page(((uintptr_t)obj) / 4096));
+    assert(tree_contains(STM_PSEGMENT->private_page_mapping,
+                         ((uintptr_t)obj) / 4096));
 
     /* check that so far all copies of the object have the flag */
     long i;
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to