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