[pypy-commit] pypy stm: One more.

arigo noreply at buildbot.pypy.org
Sat Nov 5 19:38:08 CET 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: stm
Changeset: r48803:31f2ed861176
Date: 2011-11-05 19:35 +0100
http://bitbucket.org/pypy/pypy/changeset/31f2ed861176/

Log:	One more.

diff --git a/pypy/rlib/rgc.py b/pypy/rlib/rgc.py
--- a/pypy/rlib/rgc.py
+++ b/pypy/rlib/rgc.py
@@ -186,8 +186,11 @@
     from pypy.rpython.lltypesystem.lloperation import llop
     from pypy.rlib.objectmodel import keepalive_until_here
 
-    if llop.shrink_array(lltype.Bool, p, smallerlength):
-        return p    # done by the GC
+    # XXX --- custom version for STM ---
+    # the next two lines are disabled:
+##    if llop.shrink_array(lltype.Bool, p, smallerlength):
+##        return p    # done by the GC
+
     # XXX we assume for now that the type of p is GcStruct containing a
     # variable array, with no further pointers anywhere, and exactly one
     # field in the fixed part -- like STR and UNICODE.


More information about the pypy-commit mailing list