Home
last modified time | relevance | path

Searched refs:pymalloc (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython3/Misc/
DREADME.valgrind7 --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 …]
DSpecialBuilds.txt85 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/
DREADME.valgrind16 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 …]
DSpecialBuilds.txt81 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/
Dmemory.rst92 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 …]
Dinit_config.rst223 * ``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/
Drunall-memorydebugger.sh109 ./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/
Dobmalloc.c333 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/
Dmemory.rst165 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/
Dtest_cmd_line.py689 pymalloc = support.with_pymalloc()
690 if pymalloc:
703 if pymalloc:
/external/python/cpython3/Doc/using/
Dcmdline.rst768 * ``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/
D2.3.rst1802 .. _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
D3.6.rst1825 (: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
D3.2.rst366 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`).
D2.1.rst695 providing the :option:`!--with-pymalloc` option to the :program:`configure`
D3.8.rst1526 pymalloc became useless (builds with and without pymalloc are ABI compatible)
/external/python/cpython2/Doc/whatsnew/
D2.3.rst1802 .. _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
D2.1.rst695 providing the :option:`!--with-pymalloc` option to the :program:`configure`
/external/python/cpython3/Misc/NEWS.d/
D3.8.0a4.rst1076 ``./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
D3.6.0a1.rst95 (: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.
D3.8.0b1.rst387 pymalloc returns memory blocks aligned by 16 bytes, instead of 8 bytes, on
/external/python/cpython2/Misc/NEWS.d/
D2.6a2.rst180 use pymalloc for unicode object string data to reduce memory usage in some
/external/python/cpython3/
Dconfigure.ac3398 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/
Dconfigure.ac3022 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…
Dpyconfig.h.in1166 /* Define if you want pymalloc to be disabled when running under valgrind */

12