Author: Remi Meier <[email protected]>
Branch: card-marking
Changeset: r1239:7e6f29978ec6
Date: 2014-05-22 17:39 +0200
http://bitbucket.org/pypy/stmgc/changeset/7e6f29978ec6/
Log: this is already a huge (5x) slowdown in tests compared to the
previous solution
diff --git a/c7/stm/gcpage.c b/c7/stm/gcpage.c
--- a/c7/stm/gcpage.c
+++ b/c7/stm/gcpage.c
@@ -555,6 +555,9 @@
#ifndef NDEBUG
size_t i;
uint8_t *s = write_locks;
+# ifndef STM_TESTS
+ if (n > 5000) n = 5000;
+# endif
for (i = 0; i < n; i++)
assert(s[i] == CARD_CLEAR || s[i] == CARD_MARKED
|| s[i] == CARD_MARKED_OLD);
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit