[pypy-svn] r68968 - pypy/branch/gc-jit-hack/pypy/rpython/memory/gc

arigo at codespeak.net arigo at codespeak.net
Wed Nov 4 11:42:21 CET 2009


Author: arigo
Date: Wed Nov  4 11:42:21 2009
New Revision: 68968

Modified:
   pypy/branch/gc-jit-hack/pypy/rpython/memory/gc/generation.py
Log:
Comment out the lines that bound the nursery size to half the initial space
size, with explanation.


Modified: pypy/branch/gc-jit-hack/pypy/rpython/memory/gc/generation.py
==============================================================================
--- pypy/branch/gc-jit-hack/pypy/rpython/memory/gc/generation.py	(original)
+++ pypy/branch/gc-jit-hack/pypy/rpython/memory/gc/generation.py	Wed Nov  4 11:42:21 2009
@@ -115,8 +115,11 @@
         debug_start("gc-set-nursery-size")
         if newsize < self.min_nursery_size:
             newsize = self.min_nursery_size
-        if newsize > self.space_size // 2:
-            newsize = self.space_size // 2
+        # --- the following lines are commented out: if we want a nursery
+        # --- that is too large for the current space, well, then the
+        # --- space will be resized in collect_nursery().
+        #if newsize > self.space_size // 2:
+        #    newsize = self.space_size // 2
 
         # Compute the new bounds for how large young objects can be
         # (larger objects are allocated directly old).   XXX adjust



More information about the Pypy-commit mailing list