/external/python/cpython3/Misc/ |
D | README.valgrind | 7 --without-pymalloc. 23 memory leaks, you will need to configure python --without-pymalloc. 28 to the system malloc. Note: configuring python --without-pymalloc 32 about 5 times longer to run --without-pymalloc. 48 PyMalloc when configuring python by adding the --without-pymalloc option. 55 --without-pymalloc usually increases the usefulness of other tools. 70 time, regardless of how many memory areas are under pymalloc's 73 The memory pymalloc manages itself is in one or more "arenas", 75 The base address of each arena is saved by pymalloc 80 Given an arbitrary address, pymalloc computes the pool base [all …]
|
D | SpecialBuilds.txt | 85 When pymalloc is enabled (WITH_PYMALLOC is defined), calls to the PyObject_ 149 If this envvar exists, a report of pymalloc summary statistics is printed to
|
/external/python/cpython2/Misc/ |
D | README.valgrind | 16 memory leaks, you will need to configure python --without-pymalloc. 21 to the system malloc. Note: configuring python --without-pymalloc 25 about 5 times longer to run --without-pymalloc. 41 PyMalloc when configuring python by adding the --without-pymalloc option. 59 time, regardless of how many memory areas are under pymalloc's 62 The memory pymalloc manages itself is in one or more "arenas", 64 The base address of each arena is saved by pymalloc 69 Given an arbitrary address, pymalloc computes the pool base 72 vector of arena base addresses pymalloc maintains, then 73 pymalloc knows for certain that this address is not under [all …]
|
D | SpecialBuilds.txt | 81 When pymalloc is enabled (WITH_PYMALLOC is defined), calls to the PyObject_ 142 If this envvar exists, a report of pymalloc summary statistics is printed to
|
/external/python/cpython3/Doc/c-api/ |
D | memory.rst | 92 statistics of the :ref:`pymalloc memory allocator <pymalloc>` every time a 93 new pymalloc object arena is created, and on shutdown. 170 :ref:`pymalloc memory allocator <pymalloc>`. 179 The default allocator is now pymalloc instead of system :c:func:`malloc`. 276 :ref:`pymalloc memory allocator <pymalloc>`. 342 Release build ``"pymalloc"`` ``malloc`` ``pymalloc`` `… 343 … ``"pymalloc_debug"`` ``malloc`` + debug ``pymalloc`` + debug ``pymalloc`` + d… 344 Release build, without pymalloc ``"malloc"`` ``malloc`` ``malloc`` `… 345 Debug build, without pymalloc ``"malloc_debug"`` ``malloc`` + debug ``malloc`` + debug `… 353 * ``pymalloc``: :ref:`pymalloc memory allocator <pymalloc>` [all …]
|
D | init_config.rst | 223 * ``PYMEM_ALLOCATOR_PYMALLOC`` (``5``): :ref:`Python pymalloc memory 224 allocator <pymalloc>` 225 * ``PYMEM_ALLOCATOR_PYMALLOC_DEBUG`` (``6``): :ref:`Python pymalloc 226 memory allocator <pymalloc>` with debug hooks 229 are not supported if Python is configured using ``--without-pymalloc`` 551 If non-zero, dump statistics on :ref:`Python pymalloc memory allocator 552 <pymalloc>` at exit. 554 The option is ignored if Python is built using ``--without-pymalloc``.
|
/external/python/cpython3/Modules/_decimal/tests/ |
D | runall-memorydebugger.sh | 109 ./configure CFLAGS="$ADD_CFLAGS" LDFLAGS="$ADD_LDFLAGS" --without-pymalloc > /dev/null 2>&1 164 ./configure CFLAGS="$ADD_CFLAGS" LDFLAGS="$ADD_LDFLAGS" --without-pymalloc > /dev/null 2>&1
|
/external/python/cpython3/Objects/ |
D | obmalloc.c | 333 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC; in _PyMem_SetupAllocators() local 334 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &pymalloc); in _PyMem_SetupAllocators() 335 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &pymalloc); in _PyMem_SetupAllocators() 378 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC; in _PyMem_GetCurrentAllocatorName() local 389 pymemallocator_eq(&_PyMem, &pymalloc) && in _PyMem_GetCurrentAllocatorName() 390 pymemallocator_eq(&_PyObject, &pymalloc)) in _PyMem_GetCurrentAllocatorName() 413 pymemallocator_eq(&_PyMem_Debug.mem.alloc, &pymalloc) && in _PyMem_GetCurrentAllocatorName() 414 pymemallocator_eq(&_PyMem_Debug.obj.alloc, &pymalloc)) in _PyMem_GetCurrentAllocatorName()
|
/external/python/cpython2/Doc/c-api/ |
D | memory.rst | 165 By default, these functions use :ref:`pymalloc memory allocator <pymalloc>`. 220 The pymalloc allocator 223 Python has a *pymalloc* allocator optimized for small objects (smaller or equal 228 *pymalloc* is the default allocator of :c:func:`PyObject_Malloc`.
|
/external/python/cpython3/Lib/test/ |
D | test_cmd_line.py | 689 pymalloc = support.with_pymalloc() 690 if pymalloc: 703 if pymalloc:
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 768 * ``pymalloc``: use the :ref:`pymalloc allocator <pymalloc>` for 777 * ``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks. 792 :ref:`pymalloc memory allocator <pymalloc>` every time a new pymalloc object 797 Python is configured without ``pymalloc`` support.
|
/external/python/cpython3/Doc/whatsnew/ |
D | 2.3.rst | 1802 .. _section-pymalloc: 1813 In 2.1 and 2.2, pymalloc was an experimental feature and wasn't enabled by 1815 :option:`!--with-pymalloc` option to the :program:`configure` script. In 2.3, 1816 pymalloc has had further enhancements and is now enabled by default; you'll have 1817 to supply :option:`!--without-pymalloc` to disable it. 1819 This change is transparent to code written in Python; however, pymalloc may 1821 code with pymalloc enabled, because some incorrect code may cause core dumps at 1845 * The "object memory" family is the interface to the pymalloc facility described 1852 Thanks to lots of work by Tim Peters, pymalloc in 2.3 also provides debugging 1868 For the full details of the pymalloc implementation, see the comments at
|
D | 3.6.rst | 1825 (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc memory allocator 1826 <pymalloc>` instead of :c:func:`malloc` function of the C library. The 1827 pymalloc allocator is optimized for objects smaller or equal to 512 bytes 2333 * The :c:func:`PyMem_Malloc` allocator family now uses the :ref:`pymalloc allocator 2334 <pymalloc>` rather than the system :c:func:`malloc`. Applications calling
|
D | 3.2.rst | 366 debug, "m" for pymalloc, "u" for wide-unicode). For an arbitrary package "foo", 2585 * When compiled with the ``--with-valgrind`` option, the pymalloc 2588 advantage of pymalloc at other times (:issue:`2422`).
|
D | 2.1.rst | 695 providing the :option:`!--with-pymalloc` option to the :program:`configure`
|
D | 3.8.rst | 1526 pymalloc became useless (builds with and without pymalloc are ABI compatible)
|
/external/python/cpython2/Doc/whatsnew/ |
D | 2.3.rst | 1802 .. _section-pymalloc: 1813 In 2.1 and 2.2, pymalloc was an experimental feature and wasn't enabled by 1815 :option:`!--with-pymalloc` option to the :program:`configure` script. In 2.3, 1816 pymalloc has had further enhancements and is now enabled by default; you'll have 1817 to supply :option:`!--without-pymalloc` to disable it. 1819 This change is transparent to code written in Python; however, pymalloc may 1821 code with pymalloc enabled, because some incorrect code may cause core dumps at 1845 * The "object memory" family is the interface to the pymalloc facility described 1852 Thanks to lots of work by Tim Peters, pymalloc in 2.3 also provides debugging 1868 For the full details of the pymalloc implementation, see the comments at
|
D | 2.1.rst | 695 providing the :option:`!--with-pymalloc` option to the :program:`configure`
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.8.0a4.rst | 1076 ``./configure --with-pymalloc`` no longer adds the ``m`` flag to SOABI 1077 (sys.implementation.cache_tag). Enabling or disabling pymalloc has no impact 1110 pymalloc memory allocator aligns memory on 8 bytes. On x86-64, clang expects
|
D | 3.6.0a1.rst | 95 (:c:data:`PYMEM_DOMAIN_MEM`) now use the :ref:`pymalloc allocator 96 <pymalloc>` rather than system :c:func:`malloc`. Applications calling 278 allocators when Python is configured without pymalloc.
|
D | 3.8.0b1.rst | 387 pymalloc returns memory blocks aligned by 16 bytes, instead of 8 bytes, on
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a2.rst | 180 use pymalloc for unicode object string data to reduce memory usage in some
|
/external/python/cpython3/ |
D | configure.ac | 3398 AC_MSG_CHECKING(for --with-pymalloc) 3399 AC_ARG_WITH(pymalloc, optwith 3400 AS_HELP_STRING([--with(out)-pymalloc], [disable/enable specialized mallocs])) 3438 …[AC_DEFINE([WITH_VALGRIND], 1, [Define if you want pymalloc to be disabled when running under valg… 4626 # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc, 4631 # In Python 3.7 and older, --with-pymalloc added a 'm' flag.
|
/external/python/cpython2/ |
D | configure.ac | 3022 AC_MSG_CHECKING(for --with-pymalloc) 3023 AC_ARG_WITH(pymalloc, optwith 3024 AS_HELP_STRING([--with(out)-pymalloc], [disable/enable specialized mallocs])) 3044 …[AC_DEFINE([WITH_VALGRIND], 1, [Define if you want pymalloc to be disabled when running under valg…
|
D | pyconfig.h.in | 1166 /* Define if you want pymalloc to be disabled when running under valgrind */
|