[pypy-commit] pypy rgc-mem-pressure: more fixes
justinpeel
noreply at buildbot.pypy.org
Mon Oct 17 17:19:42 CEST 2011
Author: Justin Peel <notmuchtotell at gmail.com>
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'):
More information about the pypy-commit
mailing list