diff options
author | Sam Gross <colesbury@gmail.com> | 2024-01-20 16:14:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-20 16:14:45 (GMT) |
commit | 1d6d5e854c375821a64fa9c2fbb04a36fb3b9aaa (patch) | |
tree | 4bd78a9aca8990260d29c54202249936b685a5c6 /Makefile.pre.in | |
parent | b1ad5a5d446f944a45c43a3e865d1d8f47611071 (diff) | |
download | cpython-1d6d5e854c375821a64fa9c2fbb04a36fb3b9aaa.zip cpython-1d6d5e854c375821a64fa9c2fbb04a36fb3b9aaa.tar.gz cpython-1d6d5e854c375821a64fa9c2fbb04a36fb3b9aaa.tar.bz2 |
gh-112529: Use GC heaps for GC allocations in free-threaded builds (gh-114157)
* gh-112529: Use GC heaps for GC allocations in free-threaded builds
The free-threaded build's garbage collector implementation will need to
find GC objects by traversing mimalloc heaps. This hooks up the
allocation calls with the correct heaps by using a thread-local
"current_obj_heap" variable.
* Refactor out setting heap based on type
Diffstat (limited to 'Makefile.pre.in')
-rw-r--r-- | Makefile.pre.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile.pre.in b/Makefile.pre.in index d251e7c..1107259 100644 --- a/Makefile.pre.in +++ b/Makefile.pre.in @@ -1852,6 +1852,7 @@ PYTHON_HEADERS= \ $(srcdir)/Include/internal/pycore_moduleobject.h \ $(srcdir)/Include/internal/pycore_namespace.h \ $(srcdir)/Include/internal/pycore_object.h \ + $(srcdir)/Include/internal/pycore_object_alloc.h \ $(srcdir)/Include/internal/pycore_object_state.h \ $(srcdir)/Include/internal/pycore_obmalloc.h \ $(srcdir)/Include/internal/pycore_obmalloc_init.h \ |