Author: Armin Rigo <[email protected]>
Branch: 
Changeset: r48629:8d0125178e78
Date: 2011-10-31 18:05 +0100
http://bitbucket.org/pypy/pypy/changeset/8d0125178e78/

Log:    Also disable lightweight-finalizers in the minimark GC. One test in
        test_newgc, whose purpose is precisely to check that we can allocate
        tons of stuff temporarily without getting MemoryError, fails.

diff --git a/pypy/rpython/memory/gc/minimark.py 
b/pypy/rpython/memory/gc/minimark.py
--- a/pypy/rpython/memory/gc/minimark.py
+++ b/pypy/rpython/memory/gc/minimark.py
@@ -468,7 +468,7 @@
         #
         # If the object needs a finalizer, ask for a rawmalloc.
         # The following check should be constant-folded.
-        if needs_finalizer and not is_finalizer_light:
+        if needs_finalizer:  ## and not is_finalizer_light:
             ll_assert(not contains_weakptr,
                      "'needs_finalizer' and 'contains_weakptr' both specified")
             obj = self.external_malloc(typeid, 0, can_make_young=False)
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to