/external/jemalloc/include/jemalloc/internal/ |
huge.h | 13 tcache_t *tcache); 15 bool zero, tcache_t *tcache); 19 size_t usize, size_t alignment, bool zero, tcache_t *tcache); 24 void huge_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache);
|
tcache.h | 10 * tcache pointers close to NULL are used to encode state information that is 58 /* Number of tcache allocation/deallocation events between incremental GCs. */ 103 * array. During tcache initialization, the avail pointer in each 109 /* Linkage for list of available (previously used) explicit tcache IDs. */ 112 tcache_t *tcache; member in union:tcaches_s::__anon14264 127 * Number of tcache bins. There are NBINS small-object bins, plus 0 or more 136 * Explicit tcaches, managed via the tcache.{create,flush,destroy} mallctls and 141 * explicit tcache is created without a disproportionate impact on memory usage. 146 void tcache_event_hard(tsd_t *tsd, tcache_t *tcache); 147 void *tcache_alloc_small_hard(tsd_t *tsd, arena_t *arena, tcache_t *tcache, 239 tcache_t *tcache; local [all...] |
jemalloc_internal.h | 170 * jemalloc can conceptually be broken into components (arena, tcache, etc.), 194 * t: tcache 381 #include "jemalloc/internal/tcache.h" 416 #include "jemalloc/internal/tcache.h" 503 #include "jemalloc/internal/tcache.h" 851 * Include portions of arena.h interleaved with tcache.h in order to resolve 857 #include "jemalloc/internal/tcache.h" 868 tcache_t *tcache, bool is_metadata, arena_t *arena, bool slow_path); 869 void *imalloct(tsd_t *tsd, size_t size, szind_t ind, tcache_t *tcache, 872 void *icalloct(tsd_t *tsd, size_t size, szind_t ind, tcache_t *tcache, [all...] |
arena.h | 547 bool zero, tcache_t *tcache); 549 size_t alignment, bool zero, tcache_t *tcache); 574 size_t size, size_t alignment, bool zero, tcache_t *tcache); 655 bool zero, tcache_t *tcache, bool slow_path); 658 void arena_dalloc(tsd_t *tsd, void *ptr, tcache_t *tcache, bool slow_path); 659 void arena_sdalloc(tsd_t *tsd, void *ptr, size_t size, tcache_t *tcache); [all...] |
tsd.h | 535 O(tcache, tcache_t *) \
|
/external/jemalloc/src/ |
tcache.c | 11 static unsigned stack_nelms; /* Total stack elms per tcache. */ 33 tcache_event_hard(tsd_t *tsd, tcache_t *tcache) 35 szind_t binind = tcache->next_gc_bin; 36 tcache_bin_t *tbin = &tcache->tbins[binind]; 44 tcache_bin_flush_small(tsd, tcache, tbin, binind, 49 - tbin->low_water + (tbin->low_water >> 2), tcache); 67 tcache->next_gc_bin++; 68 if (tcache->next_gc_bin == nhbins) 69 tcache->next_gc_bin = 0; 73 tcache_alloc_small_hard(tsd_t *tsd, arena_t *arena, tcache_t *tcache, 316 tcache_t *tcache; local 397 tcache_t *tcache; local 445 tcache_t *tcache; local [all...] |
huge.c | 35 tcache_t *tcache) 40 return (huge_palloc(tsd, arena, usize, chunksize, zero, tcache)); 45 bool zero, tcache_t *tcache) 61 CACHELINE, false, tcache, true, arena); 84 idalloctm(tsd, node, tcache, true, true); 92 idalloctm(tsd, node, tcache, true, true); 342 size_t alignment, bool zero, tcache_t *tcache) 346 return (huge_malloc(tsd, arena, usize, zero, tcache)); 347 return (huge_palloc(tsd, arena, usize, alignment, zero, tcache)); 352 size_t alignment, bool zero, tcache_t *tcache) [all...] |
jemalloc.c | 688 * individual threads do not lock when recording tcache stats 696 tcache_t *tcache; local 705 ql_foreach(tcache, &arena->tcache_ql, link) { 706 tcache_stats_merge(tcache, arena); 1142 CONF_HANDLE_BOOL(opt_tcache, "tcache", 1144 if (CONF_MATCH("tcache")) { 1149 "tcache cannot be enabled " 2104 tcache_t *tcache; local 2135 tcache_t *tcache; local 2273 tcache_t *tcache; local 2492 tcache_t *tcache; local 2507 ifree(tsd_fetch(), ptr, tcache, true); local 2526 tcache_t *tcache; local [all...] |
prof.c | 778 tcache_t *tcache; local 792 tcache = tcache_get(tsd, true); 794 size2index(sizeof(prof_tctx_t)), false, tcache, true, NULL, 815 idalloctm(tsd, ret.v, tcache, true, true); 1727 tcache_t *tcache; local 1794 tcache_t *tcache; local [all...] |
arena.c | [all...] |
ctl.c | 242 {NAME("tcache"), CHILD(named, thread_tcache)}, 257 {NAME("tcache"), CTL(config_tcache)}, 279 {NAME("tcache"), CTL(opt_tcache)}, 494 {NAME("tcache"), CHILD(named, tcache)}, 1336 tcache_t *tcache = tsd_tcache_get(tsd); local [all...] |
stats.c | 59 CTL_GET("config.tcache", &config_tcache, bool); 519 OPT_WRITE_BOOL(tcache)
|
/development/ndk/platforms/android-9/arch-mips/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-12/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-13/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-14/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-15/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-16/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-17/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-18/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-19/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/prebuilts/ndk/current/platforms/android-9/arch-mips/usr/include/asm/ |
cpu-info.h | 56 struct cache_desc tcache; member in struct:cpuinfo_mips
|
/external/jemalloc/test/unit/ |
mallctl.c | 139 TEST_MALLCTL_CONFIG(tcache, bool); 177 TEST_MALLCTL_OPT(bool, tcache, tcache); 178 TEST_MALLCTL_OPT(size_t, lg_tcache_max, tcache); 230 /* Deallocate p and q, but bypass the tcache for q. */ 234 /* Make sure that tcache-based allocation returns p, not q. */ 237 assert_ptr_eq(p0, p1, "Expected tcache to allocate cached region"); 261 assert_d_eq(mallctl("tcache.create", &tis[i], &sz, NULL, 0), 0, 265 /* Exercise tcache ID recycling. */ 267 assert_d_eq(mallctl("tcache.destroy", NULL, NULL, &tis[i] [all...] |
/external/jemalloc/ |
Android.mk | 32 # The number of small slots held in the tcache. The higher this number 36 # The number of large slots held in the tcache. The higher this number 40 # 1 << XX is the maximum sized allocation that will be in the tcache. 55 # Only enable the tcache on non-svelte configurations, to save PSS. 102 src/tcache.c \
|
/external/valgrind/coregrind/m_syswrap/ |
syswrap-linux.c | [all...] |