[pypy-commit] pypy gc-incminimark-pinning: ups. Forgot to reset with zero=0 over the rest of the nursery

groggi noreply at buildbot.pypy.org
Mon Jun 2 17:25:01 CEST 2014


Author: Gregor Wegberg <code at gregorwegberg.com>
Branch: gc-incminimark-pinning
Changeset: r71869:c937d5f11b97
Date: 2014-06-02 16:59 +0200
http://bitbucket.org/pypy/pypy/changeset/c937d5f11b97/

Log:	ups. Forgot to reset with zero=0 over the rest of the nursery

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
@@ -1630,6 +1630,7 @@
                 (size_gc_header + self.get_size(obj))
         #
         # clean up a bit more after the last pinned object
+        llarena.arena_reset(prev, self.nursery_real_top - prev, 0)
         llarena.arena_reset(prev, self.initial_cleanup, 2)
         nursery_barriers.append(prev + self.initial_cleanup)
         #


More information about the pypy-commit mailing list