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

fijal at codespeak.net fijal at codespeak.net
Wed Oct 1 19:29:26 CEST 2008


Author: fijal
Date: Wed Oct  1 19:29:24 2008
New Revision: 58534

Modified:
   pypy/branch/gc-experiments/pypy/rpython/memory/gc/markcompact.py
Log:
Remove arena_reset here


Modified: pypy/branch/gc-experiments/pypy/rpython/memory/gc/markcompact.py
==============================================================================
--- pypy/branch/gc-experiments/pypy/rpython/memory/gc/markcompact.py	(original)
+++ pypy/branch/gc-experiments/pypy/rpython/memory/gc/markcompact.py	Wed Oct  1 19:29:24 2008
@@ -53,6 +53,10 @@
 
     TRANSLATION_PARAMS = {'space_size': 2*1024*1024} # XXX adjust
 
+    malloc_zero_filled = True
+    inline_simple_malloc = True
+    inline_simple_malloc_varsize = True
+
     def __init__(self, chunk_size=DEFAULT_CHUNK_SIZE, space_size=2*(1024**2)):
         self.space_size = space_size
         MovingGCBase.__init__(self, chunk_size)
@@ -301,7 +305,7 @@
                 #                 "\ntid", self.header(obj).tid,
                 #                 "\nsize", totalsize)
                 llmemory.raw_memmove(fromaddr, forward_ptr, totalsize)
-                llarena.arena_reset(fromaddr, totalsize, False)
+                #llarena.arena_reset(fromaddr, totalsize, False)
             fromaddr += totalsize
 
     def debug_check_object(self, obj):



More information about the Pypy-commit mailing list