[pypy-commit] pypy minimark-noclear: Fix.

arigo noreply at buildbot.pypy.org
Mon Aug 27 16:24:43 CEST 2012


Author: Armin Rigo <arigo at tunes.org>
Branch: minimark-noclear
Changeset: r56884:caa918f10646
Date: 2012-08-27 16:24 +0200
http://bitbucket.org/pypy/pypy/changeset/caa918f10646/

Log:	Fix.

diff --git a/pypy/rpython/memory/gc/minimark.py b/pypy/rpython/memory/gc/minimark.py
--- a/pypy/rpython/memory/gc/minimark.py
+++ b/pypy/rpython/memory/gc/minimark.py
@@ -568,6 +568,7 @@
                 result = self.collect_and_reserve(totalsize)
             #
             # Build the object.
+            llarena.arena_reset(result, totalsize, 2)
             llarena.arena_reserve(result, totalsize)
             self.init_gc_object(result, typeid, flags=0)
             #


More information about the pypy-commit mailing list