mirror of https://github.com/python/cpython
31633f4473
Fixes a few issues related to refleak tracking in the free-threaded build: - Count blocks in abandoned segments - Call `_mi_page_free_collect` earlier during heap traversal in order to get an accurate count of blocks in use. - Add missing refcount tracking in `_Py_DecRefSharedDebug` and `_Py_ExplicitMergeRefcount`. - Pause threads in `get_num_global_allocated_blocks` to ensure that traversing the mimalloc heaps is safe. |
||
---|---|---|
.. | ||
prim | ||
alloc-aligned.c | ||
alloc-override.c | ||
alloc-posix.c | ||
alloc.c | ||
arena.c | ||
bitmap.c | ||
bitmap.h | ||
heap.c | ||
init.c | ||
options.c | ||
os.c | ||
page-queue.c | ||
page.c | ||
random.c | ||
segment-map.c | ||
segment.c | ||
static.c | ||
stats.c |