]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-142048: Fix quadratically increasing GC delays (gh-142051) (#142167)
authorSam Gross <colesbury@gmail.com>
Tue, 2 Dec 2025 00:31:36 +0000 (19:31 -0500)
committerGitHub <noreply@github.com>
Tue, 2 Dec 2025 00:31:36 +0000 (00:31 +0000)
commit01393ffbe67b679321e2aa59c02acc331149b03b
treeffb9a36044edfa8ed6adfbf9ef423fba3a697ead
parent8d920ac1a57bcb4a359df792d4198c16843a4899
[3.13] gh-142048: Fix quadratically increasing GC delays (gh-142051) (#142167)

The GC for the free threaded build would get slower with each collection due
to effectively double counting objects freed by the GC.
(cherry picked from commit eb892868b31322d7cf271bc25923e14b1f67ae38)

Co-authored-by: Kevin Wang <kevmo314@gmail.com>
Misc/NEWS.d/next/Core and Builtins/2025-12-01-20-41-26.gh-issue-142048.c2YosX.rst [new file with mode: 0644]
Python/gc_free_threading.c