[pypy-commit] pypy gc-incminimark-pinning: add parent object as argument. forgot it for the partial trace and drag out

groggi noreply at buildbot.pypy.org
Thu Aug 14 19:05:16 CEST 2014


Author: Gregor Wegberg <code at gregorwegberg.com>
Branch: gc-incminimark-pinning
Changeset: r72805:7175f6eeea87
Date: 2014-08-14 16:29 +0200
http://bitbucket.org/pypy/pypy/changeset/7175f6eeea87/

Log:	add parent object as argument. forgot it for the partial trace and
	drag out

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
@@ -1805,7 +1805,7 @@
         ll_assert(start < stop, "empty or negative range "
                                 "in trace_and_drag_out_of_nursery_partial()")
         #print 'trace_partial:', start, stop, '\t', obj
-        self.trace_partial(obj, start, stop, self._trace_drag_out, llmemory.NULL)
+        self.trace_partial(obj, start, stop, self._trace_drag_out, obj)
 
 
     def _trace_drag_out1(self, root):


More information about the pypy-commit mailing list