[pypy-svn] r51798 - pypy/branch/unified-rtti/pypy/rpython/memory/gc

arigo at codespeak.net arigo at codespeak.net
Fri Feb 22 16:18:28 CET 2008


Author: arigo
Date: Fri Feb 22 16:18:28 2008
New Revision: 51798

Modified:
   pypy/branch/unified-rtti/pypy/rpython/memory/gc/generation.py
Log:
Merge r51633 from the trunk.


Modified: pypy/branch/unified-rtti/pypy/rpython/memory/gc/generation.py
==============================================================================
--- pypy/branch/unified-rtti/pypy/rpython/memory/gc/generation.py	(original)
+++ pypy/branch/unified-rtti/pypy/rpython/memory/gc/generation.py	Fri Feb 22 16:18:28 2008
@@ -11,11 +11,11 @@
 # in the nursery.  It is initially set on all prebuilt and old objects,
 # and gets cleared by the write_barrier() when we write in them a
 # pointer to a young object.
-GCFLAG_NO_YOUNG_PTRS = SemiSpaceGC.first_unused_gcflag << 1
+GCFLAG_NO_YOUNG_PTRS = SemiSpaceGC.first_unused_gcflag << 0
 
 # The following flag is set for static roots which are not on the list
 # of static roots yet, but will appear with write barrier
-GCFLAG_NO_HEAP_PTRS = SemiSpaceGC.first_unused_gcflag << 2
+GCFLAG_NO_HEAP_PTRS = SemiSpaceGC.first_unused_gcflag << 1
 
 DEBUG_PRINT = False
 
@@ -29,7 +29,7 @@
     inline_simple_malloc_varsize = True
     needs_write_barrier = True
     prebuilt_gc_objects_are_static_roots = False
-    first_unused_gcflag = SemiSpaceGC.first_unused_gcflag << 3
+    first_unused_gcflag = SemiSpaceGC.first_unused_gcflag << 2
 
     def __init__(self, chunk_size=DEFAULT_CHUNK_SIZE,
                  nursery_size=128,



More information about the Pypy-commit mailing list