SIGN IN SIGN UP

bpo-40609: Rewrite how _tracemalloc handles domains (GH-20059)

Rewrite how the _tracemalloc module stores traces of other domains.
Rather than storing the domain inside the key, it now uses a new hash
table with the domain as the key, and the data is a per-domain traces
hash table.

* Add tracemalloc_domain hash table.
* Remove _Py_tracemalloc_config.use_domain.
* Remove pointer_t and related functions.
V
Victor Stinner committed
9e2ca1742076169089b818d0883688a2ddd9964a
Parent: 3d54211
Committed by GitHub <noreply@github.com> on 5/12/2020, 11:36:47 PM