[pypy-commit] pypy gc-incminimark-pinning: assertion fix, test passes now (test_pin_until_full)

groggi noreply at buildbot.pypy.org
Mon Jun 2 17:24:44 CEST 2014


Author: Gregor Wegberg <code at gregorwegberg.com>
Branch: gc-incminimark-pinning
Changeset: r71855:4ab207b723e8
Date: 2014-05-29 19:28 +0200
http://bitbucket.org/pypy/pypy/changeset/4ab207b723e8/

Log:	assertion fix, test passes now (test_pin_until_full)

diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py
--- a/rpython/memory/gc/incminimark.py
+++ b/rpython/memory/gc/incminimark.py
@@ -756,7 +756,7 @@
                                 # object
                                 pass
                 else:
-                    ll_assert(minor_collection_count >= 1,
+                    ll_assert(minor_collection_count < 1,
                         "Seeing minor_collection() at least twice. "
                         "Too many pinned objects?")
             #


More information about the pypy-commit mailing list