Home
last modified time | relevance | path

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

12

/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/Misc/
DREADME.valgrind19 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 …]
DSpecialBuilds.txt83 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/
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 …]
/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.c287 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/
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.py660 pymalloc = support.with_pymalloc()
661 if pymalloc:
674 if pymalloc:
/external/python/cpython3/Doc/using/
Dcmdline.rst727 * ``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/
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/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.rst364 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`).
D2.1.rst695 providing the :option:`!--with-pymalloc` option to the :program:`configure`
/external/python/cpython2/Misc/NEWS.d/
D2.6a2.rst180 use pymalloc for unicode object string data to reduce memory usage in some
D2.7a1.rst1473 When compiled with the ``--with-valgrind`` option, the pymalloc allocator
1476 advantage of pymalloc at other times.
D2.7.4rc1.rst2946 Fix building without pymalloc.
D2.6a1.rst117 order to allow pymalloc to free more arenas. Python may give back memory to
/external/python/cpython3/
Dconfigure.ac3411 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,
Dpyconfig.h.in1471 /* Define if you want pymalloc to be disabled when running under valgrind */
/external/python/cpython3/Misc/NEWS.d/
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.
/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