diff options
author | Sam Gross <colesbury@gmail.com> | 2024-01-15 15:37:36 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-15 15:37:36 (GMT) |
commit | 44e47dfba55a825ce7c340b1460cb493165353c9 (patch) | |
tree | 896871e2e41e3f81de629e27c10ab029d36de9db /Python | |
parent | 0f2fa6150baf111a6c69d5d491c95c3c2ee60eaf (diff) | |
download | cpython-44e47dfba55a825ce7c340b1460cb493165353c9.zip cpython-44e47dfba55a825ce7c340b1460cb493165353c9.tar.gz cpython-44e47dfba55a825ce7c340b1460cb493165353c9.tar.bz2 |
gh-112532: Fix memory block count for free-threaded build (gh-113995)
This fixes `_PyInterpreterState_GetAllocatedBlocks()` and
`_Py_GetGlobalAllocatedBlocks()` in the free-threaded builds. The
gh-113263 change that introduced multiple mimalloc heaps per-thread
broke the logic for counting the number of allocated blocks. For subtle
reasons, this led to reported reference count leaks in the refleaks
buildbots.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions