Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
news and lint
  • Loading branch information
kevmo314 committed Dec 1, 2025
commit 8d01b65df5a0c21ef68cdfe955f5257190424ae6
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Fix quadratically increasing garbage collection delays in free-threaded
build.
2 changes: 1 addition & 1 deletion Python/gc_free_threading.c
Original file line number Diff line number Diff line change
Expand Up @@ -2213,7 +2213,7 @@ record_deallocation(PyThreadState *tstate)
int count = _Py_atomic_load_int_relaxed(&gcstate->young.count);
int new_count;
do {
if (count == 0) {
if (count == 0) {
break;
}
new_count = count + (int)gc->alloc_count;
Expand Down
Loading