[issue26516] Add PYTHONMALLOC env var and add support for malloc debug hooks in release mode
STINNER Victor
report at bugs.python.org
Wed Mar 9 06:45:27 EST 2016
STINNER Victor added the comment:
The output of sys._debugmallocstats() contains different info:
* Stats of type free lists
* pymalloc stats
* number of calls to memory allocators
The available info depends on:
* pymalloc disabled at compilation with ./configure --without-pymalloc
* pymalloc disabled at runtime with PYTHONMALLOC=malloc or PYTHONMALLOC=malloc_debug
* debug hooks adds the "times object malloc called" counter: by default if Python is compiled with ./configure --with-pydebug, or enabled at runtime using PYTHONMALLOC=pymalloc_debug or PYTHONMALLOC=malloc_debug
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26516>
_______________________________________
More information about the Python-bugs-list
mailing list