[pypy-commit] pypy gc-incminimark-pinning: add debug output with nursery addresses.

groggi noreply at buildbot.pypy.org
Mon Jun 2 17:23:59 CEST 2014


Author: Gregor Wegberg <code at gregorwegberg.com>
Branch: gc-incminimark-pinning
Changeset: r71820:4c3b5fc85ad1
Date: 2014-05-14 14:47 +0200
http://bitbucket.org/pypy/pypy/changeset/4c3b5fc85ad1/

Log:	add debug output with nursery addresses.

	This was once introduced in a previouse commit, but removed by
	mistake.

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
@@ -495,6 +495,9 @@
         self.set_major_threshold_from(0.0)
         ll_assert(self.extra_threshold == 0, "extra_threshold set too early")
         self.initial_cleanup = self.nursery_size
+        debug_print("nursery start: ", self.nursery) # XXX remove (groggi)
+        debug_print("nursery top: ", self.nursery_top) # XXX remove (groggi)
+        debug_print("nursery_real_top: ", self.nursery_real_top) # XXX remove (groggi)
         debug_stop("gc-set-nursery-size")
 
 


More information about the pypy-commit mailing list