Author: Armin Rigo <[email protected]>
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 ----------
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to