[pypy-commit] pypy gc_no_cleanup_nursery: change the malloc_zero_filled flag to false

wenzhuman noreply at buildbot.pypy.org
Wed Jun 25 20:30:54 CEST 2014


Author: wenzhuman <manwenzhu at gmail.com>
Branch: gc_no_cleanup_nursery
Changeset: r72232:10d6e0089dee
Date: 2014-06-25 14:22 -0400
http://bitbucket.org/pypy/pypy/changeset/10d6e0089dee/

Log:	change the malloc_zero_filled flag to false

diff --git a/rpython/memory/gc/incminimark.py b/rpython/memory/gc/incminimark.py
--- a/rpython/memory/gc/incminimark.py
+++ b/rpython/memory/gc/incminimark.py
@@ -169,7 +169,7 @@
     inline_simple_malloc_varsize = True
     needs_write_barrier = True
     prebuilt_gc_objects_are_static_roots = False
-    malloc_zero_filled = True    # xxx experiment with False
+    malloc_zero_filled = False    # xxx experiment with False
     gcflag_extra = GCFLAG_EXTRA
 
     # All objects start with a HDR, i.e. with a field 'tid' which contains
diff --git a/rpython/rtyper/lltypesystem/lltype.py b/rpython/rtyper/lltypesystem/lltype.py
--- a/rpython/rtyper/lltypesystem/lltype.py
+++ b/rpython/rtyper/lltypesystem/lltype.py
@@ -48,6 +48,7 @@
 class _uninitialized(object):
     def __init__(self, TYPE):
         self._TYPE = TYPE
+        self.TYPE = TYPE
     def __repr__(self):
         return '<Uninitialized %r>'%(self.TYPE,)
 


More information about the pypy-commit mailing list