gh-123923: Defer refcounting for `f_executable` in `_PyInterpreterFrame` (#123924)
Use a `_PyStackRef` and defer the reference to `f_executable` 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
b2afe2aae487ebf89897e22c01d9095944fd334f
Parent: 4ed7d1d
Committed by GitHub <noreply@github.com>
on 9/12/2024, 4:37:06 PM