[pypy-commit] pypy default: This place, at least, needs a @rgc.no_collect to make sure none of the
arigo
noreply at buildbot.pypy.org
Sat Mar 28 20:07:31 CET 2015
Author: Armin Rigo <arigo at tunes.org>
Branch:
Changeset: r76612:994b78f6c6eb
Date: 2015-03-28 20:07 +0100
http://bitbucket.org/pypy/pypy/changeset/994b78f6c6eb/
Log: This place, at least, needs a @rgc.no_collect to make sure none of
the custom tracers from the program being translated can actually
collect
diff --git a/rpython/memory/gctransform/framework.py b/rpython/memory/gctransform/framework.py
--- a/rpython/memory/gctransform/framework.py
+++ b/rpython/memory/gctransform/framework.py
@@ -521,6 +521,7 @@
custom_trace_funcs_unrolled = unrolling_iterable(
[(self.get_type_id(TP), func) for TP, func in custom_trace_funcs])
+ @rgc.no_collect
@specialize.arg(2)
def custom_trace_dispatcher(obj, typeid, callback, arg):
for type_id_exp, func in custom_trace_funcs_unrolled:
More information about the pypy-commit
mailing list