SIGN IN SIGN UP
python / cpython UNCLAIMED

The Python programming language

72137 0 41 Python

gh-128679: Fix tracemalloc.stop() race conditions (#128893)

tracemalloc_alloc(), tracemalloc_realloc(), tracemalloc_free(),
_PyTraceMalloc_TraceRef() and _PyTraceMalloc_GetMemory() now check
'tracemalloc_config.tracing' after calling TABLES_LOCK().

_PyTraceMalloc_TraceRef() now always returns 0.
V
Victor Stinner committed
3193cb5ef87b77158d5c9bef99ae445cb82727de
Parent: 313b96e
Committed by GitHub <noreply@github.com> on 1/16/2025, 12:53:18 PM