]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
gh-117376: Partial implementation of deferred reference counting (#117696)
authorSam Gross <colesbury@gmail.com>
Fri, 12 Apr 2024 17:36:20 +0000 (13:36 -0400)
committerGitHub <noreply@github.com>
Fri, 12 Apr 2024 17:36:20 +0000 (17:36 +0000)
commit4ad8f090cce03c24fd4279ec8198a099b2d0cf97
treeda9e5dc5aac6b0b1121eaf4a35c286783d41d2ff
parentc50cb6dd09d5a1bfdd1b896cc31ccdc96c72e561
gh-117376: Partial implementation of deferred reference counting (#117696)

This marks objects as using deferred refrence counting using the
`ob_gc_bits` field in the free-threaded build and collects those objects
during GC.
Include/internal/pycore_gc.h
Include/internal/pycore_object.h
Lib/test/test_code.py
Objects/descrobject.c
Objects/funcobject.c
Objects/moduleobject.c
Objects/object.c
Objects/typeobject.c
Python/gc_free_threading.c