[pypy-svn] r68845 - pypy/branch/logging/pypy/rpython/memory/gc

arigo at codespeak.net arigo at codespeak.net
Thu Oct 29 12:45:40 CET 2009


Author: arigo
Date: Thu Oct 29 12:45:40 2009
New Revision: 68845

Modified:
   pypy/branch/logging/pypy/rpython/memory/gc/semispace.py
Log:
Fix.


Modified: pypy/branch/logging/pypy/rpython/memory/gc/semispace.py
==============================================================================
--- pypy/branch/logging/pypy/rpython/memory/gc/semispace.py	(original)
+++ pypy/branch/logging/pypy/rpython/memory/gc/semispace.py	Thu Oct 29 12:45:40 2009
@@ -227,7 +227,7 @@
         self.top_of_space = tospace
 
         if rlog.has_log():
-            start_usage = self.free - self.tospace
+            start_usage = self.free - fromspace
             start_time = time.time()
             rlog.debug_log("gc-full-{",
                 ".----------- Full collection ------------------\n"



More information about the Pypy-commit mailing list