[pypy-svn] r58808 - pypy/branch/gc-experiments/pypy/rpython/memory/gc

arigo at codespeak.net arigo at codespeak.net
Wed Oct 8 13:51:32 CEST 2008


Author: arigo
Date: Wed Oct  8 13:51:32 2008
New Revision: 58808

Modified:
   pypy/branch/gc-experiments/pypy/rpython/memory/gc/base.py
Log:
(fijal, arigo)
Move this initialization to the run-time setup().


Modified: pypy/branch/gc-experiments/pypy/rpython/memory/gc/base.py
==============================================================================
--- pypy/branch/gc-experiments/pypy/rpython/memory/gc/base.py	(original)
+++ pypy/branch/gc-experiments/pypy/rpython/memory/gc/base.py	Wed Oct  8 13:51:32 2008
@@ -227,8 +227,8 @@
 class MovingGCBase(GCBase):
     moving_gc = True
 
-    def __init__(self, chunk_size=DEFAULT_CHUNK_SIZE):
-        GCBase.__init__(self, chunk_size)
+    def setup(self):
+        GCBase.setup(self)
         self.objects_with_id = self.AddressDict()
         self.id_free_list = self.AddressStack()
         self.next_free_id = 1



More information about the Pypy-commit mailing list