Author: Justin Peel <[email protected]>
Branch: rgc-mem-pressure
Changeset: r48144:c7d1e2b807a3
Date: 2011-10-17 09:19 -0600
http://bitbucket.org/pypy/pypy/changeset/c7d1e2b807a3/

Log:    more fixes

diff --git a/pypy/rpython/memory/gcwrapper.py b/pypy/rpython/memory/gcwrapper.py
--- a/pypy/rpython/memory/gcwrapper.py
+++ b/pypy/rpython/memory/gcwrapper.py
@@ -66,7 +66,8 @@
         return result
 
     def add_memory_pressure(self, size):
-        self.gc.add_memory_pressure(self)
+        if hasattr(self.gc, 'raw_malloc_memory_pressure'):
+            self.gc.raw_malloc_memory_pressure(size)
 
     def shrink_array(self, p, smallersize):
         if hasattr(self.gc, 'shrink_array'):
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to