aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmin Rigo <arigo@tunes.org>2017-09-14 10:54:24 +0200
committerArmin Rigo <arigo@tunes.org>2017-09-14 10:54:24 +0200
commite69031a153778d120096c4f3be55d52c97f0a839 (patch)
tree2a2eb9a9731edd54fa24d4ee94300e435ed620c9 /rpython
parentTest and fix: an ll_assert() can rarely fail in debug mode in the GC, (diff)
downloadpypy-e69031a153778d120096c4f3be55d52c97f0a839.tar.gz
pypy-e69031a153778d120096c4f3be55d52c97f0a839.tar.bz2
pypy-e69031a153778d120096c4f3be55d52c97f0a839.zip
Forgot to save this file
Diffstat (limited to 'rpython')
-rw-r--r--rpython/memory/gc/incminimark.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py
index bf74817bcf..25f701447e 100644
--- a/rpython/memory/gc/incminimark.py
+++ b/rpython/memory/gc/incminimark.py
@@ -1904,7 +1904,8 @@ class IncrementalMiniMarkGC(MovingGCBase):
#ll_assert(cardbyte <= 1 and bytes == 0,
# "premature end of object")
ll_assert(bytes == 0, "premature end of object")
- cardbyte = 1
+ if interval_stop <= interval_start:
+ break
self.trace_and_drag_out_of_nursery_partial(
obj, interval_start, interval_stop)
#