https://github.com/python/cpython
Revision f05fb2e65c2dffdfae940f2707765c4994925205 authored by Sam Gross on 29 March 2024, 17:33:04 UTC, committed by GitHub on 29 March 2024, 17:33:04 UTC
The free-threaded GC sometimes sees objects with zero refcount. This can
happen due to the delay in merging biased reference counting fields,
and, in the future, due to deferred reference counting. We should not
untrack these objects or they will never be collected.

This fixes the refleaks in the free-threaded build.
1 parent ddf95b5
History
Tip revision: f05fb2e65c2dffdfae940f2707765c4994925205 authored by Sam Gross on 29 March 2024, 17:33:04 UTC
gh-112529: Don't untrack tuples or dicts with zero refcount (#117370)
Tip revision: f05fb2e
File Mode Size
.azure-pipelines
.devcontainer
.github
Android
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Programs
Python
Tools
iOS
.coveragerc -rw-r--r-- 526 bytes
.editorconfig -rw-r--r-- 214 bytes
.gitattributes -rw-r--r-- 3.9 KB
.gitignore -rw-r--r-- 3.1 KB
.mailmap -rw-r--r-- 175 bytes
.pre-commit-config.yaml -rw-r--r-- 1.1 KB
.readthedocs.yml -rw-r--r-- 1014 bytes
LICENSE -rw-r--r-- 13.5 KB
Makefile.pre.in -rw-r--r-- 116.3 KB
README.rst -rw-r--r-- 8.6 KB
aclocal.m4 -rw-r--r-- 23.7 KB
config.guess -rwxr-xr-x 48.2 KB
config.sub -rwxr-xr-x 36.1 KB
configure -rwxr-xr-x 857.2 KB
configure.ac -rw-r--r-- 239.3 KB
install-sh -rwxr-xr-x 15.0 KB
pyconfig.h.in -rw-r--r-- 53.5 KB

README.rst

back to top