cpython/Objects/mimalloc
Sam Gross 31633f4473
gh-115184: Fix refleak tracking issues in free-threaded build (#115188)
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.
2024-02-09 09:23:12 -05:00
..
prim gh-112808: Fix mimalloc build on Solaris (#112809) 2024-01-08 15:50:56 -08:00
alloc-aligned.c
alloc-override.c
alloc-posix.c
alloc.c
arena.c
bitmap.c
bitmap.h
heap.c gh-115184: Fix refleak tracking issues in free-threaded build (#115188) 2024-02-09 09:23:12 -05:00
init.c gh-112532: Tag mimalloc heaps and pages (#113742) 2024-01-05 12:08:50 -08:00
options.c
os.c
page-queue.c
page.c gh-112532: Tag mimalloc heaps and pages (#113742) 2024-01-05 12:08:50 -08:00
random.c
segment-map.c
segment.c gh-112532: Improve mimalloc page visiting (#114133) 2024-01-22 13:10:21 -08:00
static.c
stats.c