diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-03-22 11:58:23 (GMT) |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-03-22 11:58:23 (GMT) |
commit | e492ae50e251c4fcd48bc37b1eaa4821894f1fdb (patch) | |
tree | 1893c71fe3c54ec2bb0588db5f31e43489188d49 /Misc | |
parent | 58100059acb89179530036b4649f91cc679ea12b (diff) | |
download | cpython-e492ae50e251c4fcd48bc37b1eaa4821894f1fdb.zip cpython-e492ae50e251c4fcd48bc37b1eaa4821894f1fdb.tar.gz cpython-e492ae50e251c4fcd48bc37b1eaa4821894f1fdb.tar.bz2 |
tracemalloc now supports domains
Issue #26588:
* The _tracemalloc now supports tracing memory allocations of multiple address
spaces (domains).
* Add domain parameter to tracemalloc_add_trace() and
tracemalloc_remove_trace().
* tracemalloc_add_trace() now starts by removing the previous trace, if any.
* _tracemalloc._get_traces() now returns a list of (domain, size,
traceback_frames): the domain is new.
* Add tracemalloc.DomainFilter
* tracemalloc.Filter: add an optional domain parameter to the constructor and a
domain attribute
* Sublte change: use Py_uintptr_t rather than void* in the traces key.
* Add tracemalloc_config.use_domain, currently hardcoded to 1
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -232,6 +232,9 @@ Core and Builtins Library ------- +- Issue #26588: The _tracemalloc now supports tracing memory allocations of + multiple address spaces (domains). + - Issue #24266: Ctrl+C during Readline history search now cancels the search mode when compiled with Readline 7. |