SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

0 0 0 Python

gh-123923: Defer refcounting for `f_funcobj` in `_PyInterpreterFrame` (#124026)

Use a `_PyStackRef` and defer the reference to `f_funcobj` when
possible. This avoids some reference count contention in the common case
of executing the same code object from multiple threads concurrently in
the free-threaded build.
S
Sam Gross committed
f4997bb3ac961d6aaf07ce650cd074e28ce6ccd0
Parent: d3c76df
Committed by GitHub <[email protected]> on 9/24/2024, 8:08:18 PM