diff options
author | Victor Stinner <vstinner@python.org> | 2025-01-15 20:22:44 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-01-15 20:22:44 (GMT) |
commit | 36c5e3bcc25700645d19eba65dcdf22acd99a7a8 (patch) | |
tree | ca64b1a7a0cb8b37c35550b53f9ffd5e4dbc82b7 /Python/stackrefs.c | |
parent | 080f444a58dae1bb76a87ce746a09fd499792cfb (diff) | |
download | cpython-36c5e3bcc25700645d19eba65dcdf22acd99a7a8.zip cpython-36c5e3bcc25700645d19eba65dcdf22acd99a7a8.tar.gz cpython-36c5e3bcc25700645d19eba65dcdf22acd99a7a8.tar.bz2 |
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/stackrefs.c')
0 files changed, 0 insertions, 0 deletions