[pypy-commit] pypy remove-globals-in-jit: Phew. Fix: gc_set_extra_threshold occasionally causes a collection.

arigo noreply at buildbot.pypy.org
Sat Jan 5 18:10:02 CET 2013


Author: Armin Rigo <arigo at tunes.org>
Branch: remove-globals-in-jit
Changeset: r59738:d1878a4133c1
Date: 2013-01-05 18:09 +0100
http://bitbucket.org/pypy/pypy/changeset/d1878a4133c1/

Log:	Phew. Fix: gc_set_extra_threshold occasionally causes a collection.

diff --git a/pypy/rpython/lltypesystem/lloperation.py b/pypy/rpython/lltypesystem/lloperation.py
--- a/pypy/rpython/lltypesystem/lloperation.py
+++ b/pypy/rpython/lltypesystem/lloperation.py
@@ -499,7 +499,7 @@
     'gc_typeids_z'        : LLOp(),
     'gc_gcflag_extra'     : LLOp(),
     'gc_add_memory_pressure': LLOp(),
-    'gc_set_extra_threshold': LLOp(canrun=True),
+    'gc_set_extra_threshold': LLOp(canrun=True, canmallocgc=True),
 
     # ------- JIT & GC interaction, only for some GCs ----------
 


More information about the pypy-commit mailing list