[pypy-svn] r56325 - pypy/dist/pypy/rpython/memory/gc
hpk at codespeak.net
hpk at codespeak.net
Sat Jul 5 12:46:42 CEST 2008
Author: hpk
Date: Sat Jul 5 12:46:41 2008
New Revision: 56325
Modified:
pypy/dist/pypy/rpython/memory/gc/generation.py
Log:
fixes sandboxing with generational gc (hint from armin)
Modified: pypy/dist/pypy/rpython/memory/gc/generation.py
==============================================================================
--- pypy/dist/pypy/rpython/memory/gc/generation.py (original)
+++ pypy/dist/pypy/rpython/memory/gc/generation.py Sat Jul 5 12:46:41 2008
@@ -614,7 +614,8 @@
sysctlbyname = rffi.llexternal('sysctlbyname',
[rffi.CCHARP, rffi.VOIDP, rffi.SIZE_TP,
rffi.VOIDP, rffi.SIZE_T],
- rffi.INT)
+ rffi.INT,
+ sandboxsafe=True)
def estimate_best_nursery_size():
"""Try to estimate the best nursery size at run-time, depending
More information about the Pypy-commit
mailing list