diff options
author | Sam Gross <colesbury@gmail.com> | 2024-02-06 16:45:42 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-02-06 16:45:42 (GMT) |
commit | 7fdd4235d790559372bbb1bf0c2384191a9bb5f3 (patch) | |
tree | f97f2018900b70ca3fdf7c0643e20eef6b511803 /Python/optimizer_analysis.c | |
parent | f7a22a7055d97c05406512577bdfcb6d3f134b91 (diff) | |
download | cpython-7fdd4235d790559372bbb1bf0c2384191a9bb5f3.zip cpython-7fdd4235d790559372bbb1bf0c2384191a9bb5f3.tar.gz cpython-7fdd4235d790559372bbb1bf0c2384191a9bb5f3.tar.bz2 |
gh-112529: Stop the world around gc.get_referents (#114823)
We do not want to add locking in `tp_traverse` slot implementations.
Instead, stop the world when calling `gc.get_referents`. Note that the the
stop the world call is a no-op in the default build.
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
Diffstat (limited to 'Python/optimizer_analysis.c')
0 files changed, 0 insertions, 0 deletions