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

arigo at codespeak.net arigo at codespeak.net
Tue Oct 27 14:02:46 CET 2009


Author: arigo
Date: Tue Oct 27 14:02:46 2009
New Revision: 68787

Modified:
   pypy/branch/logging/pypy/rpython/memory/gc/generation.py
Log:
Revert a minor change.


Modified: pypy/branch/logging/pypy/rpython/memory/gc/generation.py
==============================================================================
--- pypy/branch/logging/pypy/rpython/memory/gc/generation.py	(original)
+++ pypy/branch/logging/pypy/rpython/memory/gc/generation.py	Tue Oct 27 14:02:46 2009
@@ -346,7 +346,6 @@
                 self.update_young_objects_with_id()
             # mark the nursery as free and fill it with zeroes again
             llarena.arena_reset(self.nursery, self.nursery_size, 2)
-            self.nursery_free = self.nursery
             rlog.debug_log("gc-minor-}",
                 "|       tracked older objects:           %(oldobj)d\n"
                 "`------ survived (fraction of the size): %(survived)f",
@@ -360,7 +359,7 @@
             self.nursery = self.free
             self.nursery_top = self.nursery + self.nursery_size
             self.free = self.nursery_top
-            self.nursery_free = self.nursery
+        self.nursery_free = self.nursery
         return self.nursery_free
 
     # NB. we can use self.copy() to move objects out of the nursery,



More information about the Pypy-commit mailing list