Home
last modified time | relevance | path

Searched refs:obmalloc (Results 1 – 25 of 30) sorted by relevance

12

/external/python/cpython3/Objects/
Dobmalloc.c1375 assert(interp->obmalloc != NULL); // otherwise not initialized or freed in get_state()
1376 return interp->obmalloc; in get_state()
1444 OMState *state = interp->obmalloc; in _PyInterpreterState_GetAllocatedBlocks()
1480 if (has_own_state(interp) && interp->obmalloc != NULL) { in _PyInterpreterState_FinalizeAllocatedBlocks()
1483 interp->runtime->obmalloc.interpreter_leaks += leaked; in _PyInterpreterState_FinalizeAllocatedBlocks()
1509 runtime->obmalloc.interpreter_leaks = 0; in _Py_FinalizeAllocatedBlocks()
1558 total += runtime->obmalloc.interpreter_leaks; in get_num_global_allocated_blocks()
1720 int debug_stats = _PyRuntime.obmalloc.dump_debug_stats; in new_arena()
1724 _PyRuntime.obmalloc.dump_debug_stats = debug_stats; in new_arena()
3128 return interp->obmalloc && interp->obmalloc != &obmalloc_state_main; in _PyMem_obmalloc_state_on_heap()
[all …]
/external/python/cpython3/Tools/c-analyzer/cpython/
Dignored.tsv325 Objects/obmalloc.c - _PyMem -
326 Objects/obmalloc.c - _PyMem_Debug -
327 Objects/obmalloc.c - _PyMem_Raw -
328 Objects/obmalloc.c - _PyObject -
329 Objects/obmalloc.c - last_final_leaks -
330 Objects/obmalloc.c - obmalloc_state_main -
331 Objects/obmalloc.c - obmalloc_state_initialized -
/external/python/cpython3/Tools/c-analyzer/
DTODO11 Objects/obmalloc.c:_PyMem static PyMemAllocatorEx _PyMem
12 Objects/obmalloc.c:_PyMem_Debug static struct { debug_alloc_api_t …
13 Objects/obmalloc.c:_PyMem_Raw static PyMemAllocatorEx _PyMem_Raw
14 Objects/obmalloc.c:_PyObject static PyMemAllocatorEx _PyObject
15 Objects/obmalloc.c:_PyObject_Arena static PyObjectArenaAllocator _PyO…
16 Objects/obmalloc.c:_Py_tracemalloc_config struct _PyTraceMalloc_Config _Py_t…
17 Objects/obmalloc.c:arenas static struct arena_object* arenas
18 Objects/obmalloc.c:maxarenas static uint maxarenas
19 Objects/obmalloc.c:narenas_currently_allocated static size_t narenas_currently_al…
20 Objects/obmalloc.c:narenas_highwater static size_t narenas_highwater
[all …]
/external/python/cpython3/Include/internal/
Dpycore_interp.h236 struct _obmalloc_state *obmalloc; member
Dpycore_runtime.h283 struct _obmalloc_global_state obmalloc; member
Dpycore_runtime_init.h145 .obmalloc = _obmalloc_global_state_INIT, \
/external/python/cpython3/Doc/howto/
Dgdb_helpers.rst127 ) at Objects/obmalloc.c:748
128 …#1 0x000000000041b7c0 in _PyObject_DebugMallocApi (id=111 'o', nbytes=24) at Objects/obmalloc.c:1…
129 #2 0x000000000041b717 in _PyObject_DebugMalloc (nbytes=24) at Objects/obmalloc.c:1412
/external/python/cpython3/Misc/
DREADME.valgrind58 ==6399== at 0x4A9BDE7E: PyObject_Free (obmalloc.c:711)
Dvalgrind-python.supp10 # You must edit Objects/obmalloc.c and uncomment Py_USING_MEMORY_DEBUGGER
Dsvnmap.txt38502 42559 911c7fa495b2404706f8aa45ccce0a9a14f8aaa0 tim-obmalloc
38503 42560 143c348ff71769d60b0daf4bef207419fe3325e5 tim-obmalloc
38552 42622 0151a02374a82e253a35f5422e8cab8210525dc2 tim-obmalloc
38555 42625 7b58fbde5e5dfc1bdd39810c675ed40ac401d3f5 tim-obmalloc
38563 42633 c3e28409686cbe2c3a67900ebb0db781df5ceec3 tim-obmalloc
38564 42634 6645db094943dd2b444fc1e01d481876783b83f2 tim-obmalloc
38572 42642 258990242898e6c603e7364fa5814c728a84bf47 tim-obmalloc
38582 42658 66fc5b262868bee7d231c759846c1fed3cd5edec tim-obmalloc
38584 42660 402de0fef116d8e7c14c02c56dde0cfeb5f74b5d tim-obmalloc
38602 42687 8b6851382e275358fa8b28c52ef7fec7922bc446 tim-obmalloc
[all …]
/external/python/cpython3/Misc/NEWS.d/
D3.13.0a4.rst297 Make interp->obmalloc a pointer. For interpreters that share state with the
299 interpreters with their own obmalloc state, it is heap allocated. Add
300 free_obmalloc_arenas() which will free the obmalloc arenas and radix tree
301 structures for interpreters with their own obmalloc state.
D3.10.0a7.rst252 Add a radix tree based memory map to track in-use obmalloc arenas. Use to
255 Boosting the pool and arena size allows obmalloc to handle a significantly
D3.11.0a2.rst63 In obmalloc, set ADDRESS_BITS to not ignore any bits (ignored 16 before).
84 Fix a bug in the obmalloc radix tree code. On 64-bit machines, the bug
D3.7.0a3.rst42 _PyRuntime to Objects/obmalloc.c. The memory allocators are once again
D3.13.1.rst1699 interned it. For interpreters that share obmalloc state, also share the
D3.8.0b1.rst113 of arenas, due to using linear search to keep ``obmalloc.c``'s list of
/external/python/cpython3/
DAndroid.bp276 "Objects/obmalloc.c",
DMakefile.pre.in536 Objects/obmalloc.o \
1880 Objects/obmalloc.o: $(srcdir)/Objects/mimalloc/alloc.c \
/external/python/cpython3/Tools/wasm/
DREADME.md242 - Python's object allocator ``obmalloc`` is disabled by default.
/external/python/cpython3/Python/
Dpystate.c583 PyMem_RawFree(interp->obmalloc); in free_interpreter()
584 interp->obmalloc = NULL; in free_interpreter()
/external/python/cpython3/Doc/c-api/
Dmemory.rst607 static function bumpserialno() in obmalloc.c is the only place the serial
/external/python/cpython3/Doc/whatsnew/
D2.5.rst2136 * Evan Jones's patch to obmalloc, first described in a talk at PyCon DC 2005,
2155 freed it with the ``PyObject`` function. With 2.5's changes to obmalloc,
2272 * C API: The obmalloc changes mean that you must be careful to not mix usage
D2.1.rst700 script; see :file:`Objects/obmalloc.c` for the implementation details.
D2.3.rst1867 https://hg.python.org/cpython/file/default/Objects/obmalloc.c
1869 the top of the file :file:`Objects/obmalloc.c` in the Python source code.
D3.9.rst783 * Python's small object allocator (``obmalloc.c``) now allows (no more than)

12