[pypy-commit] pypy concurrent-marksweep: Move this outside the collector thread, to ensure that it is correctly
arigo
noreply at buildbot.pypy.org
Mon Oct 24 19:38:27 CEST 2011
Author: Armin Rigo <arigo at tunes.org>
Branch: concurrent-marksweep
Changeset: r48385:b661552e1f80
Date: 2011-10-24 19:38 +0200
http://bitbucket.org/pypy/pypy/changeset/b661552e1f80/
Log: Move this outside the collector thread, to ensure that it is
correctly nested in a debug_print("gc-*")
diff --git a/pypy/rpython/memory/gc/concurrentgen.py b/pypy/rpython/memory/gc/concurrentgen.py
--- a/pypy/rpython/memory/gc/concurrentgen.py
+++ b/pypy/rpython/memory/gc/concurrentgen.py
@@ -390,6 +390,8 @@
if self.collector.running != 0:
debug_start("gc-stop")
self._stop_collection()
+ debug_print("size_still_available_before_major =",
+ self.size_still_available_before_major)
debug_stop("gc-stop")
#
# We must *not* run execute_finalizers_ll() here, because it
@@ -877,7 +879,6 @@
sz -= intmask(surviving_size)
#
self.gc.size_still_available_before_major = sz
- debug_print("size_still_available_before_major =", sz)
#
self.running = 2
#debug_print("collection_running = 2")
More information about the pypy-commit
mailing list