Author: Armin Rigo <[email protected]>
Branch:
Changeset: r185:b82d04da5e98
Date: 2013-06-18 19:28 +0200
http://bitbucket.org/pypy/stmgc/changeset/b82d04da5e98/
Log: minor stuff and a multi_thread test that still fails
diff --git a/c4/doc-stmgc.txt b/c4/doc-stmgc.txt
--- a/c4/doc-stmgc.txt
+++ b/c4/doc-stmgc.txt
@@ -292,7 +292,7 @@
as hinted above, we can compact chains of public object copies.
Note that our design relies on the following property: in a given copy
-of an object which was committed at revision N, all pointers points to
+of an object which was committed at revision N, all pointers point to
copies of objects which were committed at or before revision N. This
property is true by construction, but we must be careful not to break it
by "optimizing" the content of a copy. In particular, major collections
diff --git a/c4/test/test_gcpage.py b/c4/test/test_gcpage.py
--- a/c4/test/test_gcpage.py
+++ b/c4/test/test_gcpage.py
@@ -248,3 +248,9 @@
print 'p4:', p4
print 'p5:', p5
assert rawgetptr(p1, 0) == p5
+
+def test_prebuilt_version_1():
+ p1 = lib.pseudoprebuilt(HDR, 42 + HDR)
+ check_prebuilt(p1)
+ major_collect()
+ check_prebuilt(p1)
diff --git a/c4/test/test_random.py b/c4/test/test_random.py
--- a/c4/test/test_random.py
+++ b/c4/test/test_random.py
@@ -505,6 +505,6 @@
def test_more_multi_thread():
- py.test.skip("more random tests")
- for i in range(100):
- yield test_multi_thread, 1200 + i
+ #py.test.skip("more random tests")
+ for i in range(200):
+ yield test_multi_thread, 1624 + i
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit