summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-03-22 11:58:23 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2016-03-22 11:58:23 (GMT)
commite492ae50e251c4fcd48bc37b1eaa4821894f1fdb (patch)
tree1893c71fe3c54ec2bb0588db5f31e43489188d49 /Misc
parent58100059acb89179530036b4649f91cc679ea12b (diff)
downloadcpython-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/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e6d69a2..841f8a0 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -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.