summaryrefslogtreecommitdiffstats
path: root/Python/optimizer_analysis.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-02-06 16:45:42 (GMT)
committerGitHub <noreply@github.com>2024-02-06 16:45:42 (GMT)
commit7fdd4235d790559372bbb1bf0c2384191a9bb5f3 (patch)
treef97f2018900b70ca3fdf7c0643e20eef6b511803 /Python/optimizer_analysis.c
parentf7a22a7055d97c05406512577bdfcb6d3f134b91 (diff)
downloadcpython-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