/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/Misc/ |
D | README.valgrind | 19 memory leaks, you will need to configure python --without-pymalloc. 24 to the system malloc. Note: configuring python --without-pymalloc 28 about 5 times longer to run --without-pymalloc. 44 PyMalloc when configuring python by adding the --without-pymalloc option. 62 time, regardless of how many memory areas are under pymalloc's 65 The memory pymalloc manages itself is in one or more "arenas", 67 The base address of each arena is saved by pymalloc 72 Given an arbitrary address, pymalloc computes the pool base 75 vector of arena base addresses pymalloc maintains, then 76 pymalloc knows for certain that this address is not under [all …]
|
D | SpecialBuilds.txt | 83 When pymalloc is enabled (WITH_PYMALLOC is defined), calls to the PyObject_ 146 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 …]
|
/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 | 287 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC; in _PyMem_SetupAllocators() local 288 PyMem_SetAllocator(PYMEM_DOMAIN_MEM, &pymalloc); in _PyMem_SetupAllocators() 289 PyMem_SetAllocator(PYMEM_DOMAIN_OBJ, &pymalloc); in _PyMem_SetupAllocators() 326 PyMemAllocatorEx pymalloc = PYMALLOC_ALLOC; in _PyMem_GetAllocatorsName() local 337 pymemallocator_eq(&_PyMem, &pymalloc) && in _PyMem_GetAllocatorsName() 338 pymemallocator_eq(&_PyObject, &pymalloc)) in _PyMem_GetAllocatorsName() 361 pymemallocator_eq(&_PyMem_Debug.mem.alloc, &pymalloc) && in _PyMem_GetAllocatorsName() 362 pymemallocator_eq(&_PyMem_Debug.obj.alloc, &pymalloc)) in _PyMem_GetAllocatorsName()
|
/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 | 660 pymalloc = support.with_pymalloc() 661 if pymalloc: 674 if pymalloc:
|
/external/python/cpython3/Doc/using/ |
D | cmdline.rst | 727 * ``pymalloc``: use the :ref:`pymalloc allocator <pymalloc>` for 736 * ``pymalloc_debug``: same as ``pymalloc`` but also install debug hooks 751 :ref:`pymalloc memory allocator <pymalloc>` every time a new pymalloc object 756 Python is configured without ``pymalloc`` support.
|
/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/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 | 364 debug, "m" for pymalloc, "u" for wide-unicode). For an arbitrary package "foo", 2583 * When compiled with the ``--with-valgrind`` option, the pymalloc 2586 advantage of pymalloc at other times (:issue:`2422`).
|
D | 2.1.rst | 695 providing the :option:`!--with-pymalloc` option to the :program:`configure`
|
/external/python/cpython2/Misc/NEWS.d/ |
D | 2.6a2.rst | 180 use pymalloc for unicode object string data to reduce memory usage in some
|
D | 2.7a1.rst | 1473 When compiled with the ``--with-valgrind`` option, the pymalloc allocator 1476 advantage of pymalloc at other times.
|
D | 2.7.4rc1.rst | 2946 Fix building without pymalloc.
|
D | 2.6a1.rst | 117 order to allow pymalloc to free more arenas. Python may give back memory to
|
/external/python/cpython3/ |
D | configure.ac | 3411 AC_MSG_CHECKING(for --with-pymalloc) 3412 AC_ARG_WITH(pymalloc, optwith 3413 AS_HELP_STRING([--with(out)-pymalloc], [disable/enable specialized mallocs])) 3452 …[AC_DEFINE([WITH_VALGRIND], 1, [Define if you want pymalloc to be disabled when running under valg… 4729 # * --with-pymalloc (adds a 'm') 4732 # Thus for example, Python 3.2 built with wide unicode, pydebug, and pymalloc,
|
D | pyconfig.h.in | 1471 /* Define if you want pymalloc to be disabled when running under valgrind */
|
/external/python/cpython3/Misc/NEWS.d/ |
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.
|
/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 */
|