aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/sysmodule.c
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2025-01-15 21:22:44 +0100
committerGitHub <noreply@github.com>2025-01-15 20:22:44 +0000
commit36c5e3bcc25700645d19eba65dcdf22acd99a7a8 (patch)
treeca64b1a7a0cb8b37c35550b53f9ffd5e4dbc82b7 /Python/sysmodule.c
parent080f444a58dae1bb76a87ce746a09fd499792cfb (diff)
downloadcpython-36c5e3bcc25700645d19eba65dcdf22acd99a7a8.tar.gz
cpython-36c5e3bcc25700645d19eba65dcdf22acd99a7a8.zip
gh-128679: Redesign tracemalloc locking (#128888)
* Use TABLES_LOCK() to protect 'tracemalloc_config.tracing'. * Hold TABLES_LOCK() longer while accessing tables. * tracemalloc_realloc() and tracemalloc_free() no longer remove the trace on reentrant call. * _PyTraceMalloc_Stop() unregisters _PyTraceMalloc_TraceRef(). * _PyTraceMalloc_GetTraces() sets the reentrant flag. * tracemalloc_clear_traces_unlocked() sets the reentrant flag.
Diffstat (limited to 'Python/sysmodule.c')
0 files changed, 0 insertions, 0 deletions