[issue26588] _tracemalloc: add support for multiple address spaces (domains)

STINNER Victor report at bugs.python.org
Fri Mar 18 19:36:49 EDT 2016


STINNER Victor added the comment:

Patch 3:

- avoid the memory overhead of storing domain if domains are not used
- add optional use_domain parameter to tracemalloc.start()
- by default, no change: use a C void* (pointer) as key for the trace hashtable
- if start() is called with use_domain=True, use (pointer: void*, domain: unsigned int) key for the trace hashtable

----------
Added file: http://bugs.python.org/file42211/tracemalloc-3.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26588>
_______________________________________


More information about the Python-bugs-list mailing list