diff options
| author | Victor Stinner <vstinner@python.org> | 2020-05-13 01:52:11 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-05-13 01:52:11 (GMT) |
| commit | d95bd4214c2babe851b02562d973d60c02e639b7 (patch) | |
| tree | 75f9961793fecd850e1b4455bb8a6383add6b9bf /Python/marshal.c | |
| parent | 2d0a3d682f699cce8db6e30981d41d9125318726 (diff) | |
| download | cpython-d95bd4214c2babe851b02562d973d60c02e639b7.zip cpython-d95bd4214c2babe851b02562d973d60c02e639b7.tar.gz cpython-d95bd4214c2babe851b02562d973d60c02e639b7.tar.bz2 | |
bpo-40609: _tracemalloc allocates traces (GH-20064)
Rewrite _tracemalloc to store "trace_t*" rather than directly
"trace_t" in traces hash tables. Traces are now allocated on the heap
memory, outside the hash table.
Add tracemalloc_copy_traces() and tracemalloc_copy_domains() helper
functions.
Remove _Py_hashtable_copy() function since there is no API to copy a
key or a value.
Remove also _Py_hashtable_delete() function which was commented.
Diffstat (limited to 'Python/marshal.c')
0 files changed, 0 insertions, 0 deletions
