[pypy-svn] r65516 - pypy/trunk/pypy/rpython/memory/gc
arigo at codespeak.net
arigo at codespeak.net
Sun May 31 18:57:09 CEST 2009
Author: arigo
Date: Sun May 31 18:57:08 2009
New Revision: 65516
Modified:
pypy/trunk/pypy/rpython/memory/gc/semispace.py
Log:
Fix nonsense output when config.gcconfig.debugprint is set.
Modified: pypy/trunk/pypy/rpython/memory/gc/semispace.py
==============================================================================
--- pypy/trunk/pypy/rpython/memory/gc/semispace.py (original)
+++ pypy/trunk/pypy/rpython/memory/gc/semispace.py Sun May 31 18:57:08 2009
@@ -208,11 +208,12 @@
"| used before collection: ",
start_usage, "bytes")
start_time = time.time()
+ else:
+ start_time = 0 # Help the flow space
+ start_usage = 0 # Help the flow space
#llop.debug_print(lltype.Void, 'semispace_collect', int(size_changing))
tospace = self.fromspace
fromspace = self.tospace
- start_time = 0 # Help the flow space
- start_usage = 0 # Help the flow space
self.fromspace = fromspace
self.tospace = tospace
self.top_of_space = tospace + self.space_size
More information about the Pypy-commit
mailing list