[pypy-svn] r49845 - pypy/branch/lazy-write-barrier/pypy/rpython/memory/gc

arigo at codespeak.net arigo at codespeak.net
Sun Dec 16 17:38:33 CET 2007


Author: arigo
Date: Sun Dec 16 17:38:31 2007
New Revision: 49845

Modified:
   pypy/branch/lazy-write-barrier/pypy/rpython/memory/gc/generation.py
Log:
Clean-ups.


Modified: pypy/branch/lazy-write-barrier/pypy/rpython/memory/gc/generation.py
==============================================================================
--- pypy/branch/lazy-write-barrier/pypy/rpython/memory/gc/generation.py	(original)
+++ pypy/branch/lazy-write-barrier/pypy/rpython/memory/gc/generation.py	Sun Dec 16 17:38:31 2007
@@ -1,4 +1,4 @@
-import sys, os
+import sys
 from pypy.rpython.memory.gc.semispace import SemiSpaceGC, GCFLAGSHIFT, \
     GCFLAG_IMMORTAL
 from pypy.rpython.lltypesystem.llmemory import NULL, raw_malloc_usage
@@ -40,7 +40,6 @@
                              get_roots = get_roots)
         self.nursery_size = nursery_size
         assert nursery_size <= space_size // 2
-        self.created = 0
 
     def setup(self):
         SemiSpaceGC.setup(self)
@@ -296,7 +295,6 @@
             self.remember_young_pointer(addr_struct, newvalue)
 
     def append_to_static_roots(self, pointer, arg):
-        self.created += 1
         self.get_roots.append_static_root(pointer)
 
     def move_to_static_roots(self, addr_struct):



More information about the Pypy-commit mailing list