/bionic/benchmarks/ |
D | stdlib_benchmark.cpp | 47 mallopt(M_DECAY_TIME, 0); in BM_stdlib_malloc_free_default() 58 mallopt(M_DECAY_TIME, 1); in BM_stdlib_malloc_free_decay1() 84 mallopt(M_DECAY_TIME, 0); in BM_stdlib_calloc_free_default() 93 mallopt(M_DECAY_TIME, 1); in BM_stdlib_calloc_free_decay1() 97 mallopt(M_DECAY_TIME, 0); in BM_stdlib_calloc_free_decay1() 125 mallopt(M_DECAY_TIME, 0); in BM_stdlib_malloc_forty_default() 136 mallopt(M_DECAY_TIME, 1); in BM_stdlib_malloc_forty_decay1() 148 mallopt(M_DECAY_TIME, 0); in BM_stdlib_malloc_multiple_8192_allocs_default() 159 mallopt(M_DECAY_TIME, 1); in BM_stdlib_malloc_multiple_8192_allocs_decay1()
|
D | malloc_benchmark.cpp | 49 mallopt(M_DECAY_TIME, 1); in RunMalloptPurge() 50 mallopt(M_PURGE_ALL, 0); in RunMalloptPurge() 73 mallopt(purge_value, 0); in RunMalloptPurge()
|
D | malloc_sql_benchmark.cpp | 111 mallopt(M_DECAY_TIME, 0); in BM_malloc_sql_trace_default() 123 mallopt(M_DECAY_TIME, 1); in BM_malloc_sql_trace_decay1()
|
D | ScopedDecayTimeRestorer.h | 34 virtual ~ScopedDecayTimeRestorer() { mallopt(M_DECAY_TIME, saved_value_); } in ~ScopedDecayTimeRestorer()
|
D | malloc_rss_benchmark.cpp | 103 mallopt(M_DECAY_TIME, 0); in StressSizeClass() 115 mallopt(M_PURGE_ALL, 0); in StressSizeClass()
|
D | malloc_map_benchmark.cpp | 72 mallopt(M_PURGE_ALL, 0); in MapBenchmark() 83 mallopt(M_PURGE_ALL, 0); in MapBenchmark()
|
/bionic/tests/ |
D | malloc_test.cpp | 106 mallopt(M_THREAD_DISABLE_MEM_INIT, 1); in TEST() 113 mallopt(M_THREAD_DISABLE_MEM_INIT, 0); in TEST() 670 ASSERT_EQ(0, mallopt(-1000, 1)); in TEST() 681 ASSERT_EQ(1, mallopt(M_DECAY_TIME, -1)); in TEST() 682 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 1)); in TEST() 683 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 0)); in TEST() 684 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 1)); in TEST() 685 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 0)); in TEST() 686 ASSERT_EQ(1, mallopt(M_DECAY_TIME, -1)); in TEST() 695 ASSERT_EQ(1, mallopt(M_PURGE, 0)); in TEST() [all …]
|
D | malloc_stress_test.cpp | 44 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 1)); in TEST()
|
D | heap_tagging_level_test.cpp | 45 return mallopt(M_BIONIC_SET_HEAP_TAGGING_LEVEL, level); in SetHeapTaggingLevel()
|
/bionic/libc/bionic/ |
D | malloc_common.cpp | 104 extern "C" int mallopt(int param, int value) { in mallopt() function 118 retval = dispatch_table->mallopt(param, value); in mallopt() 120 retval = Malloc(mallopt)(param, value); in mallopt() 391 Malloc(mallopt),
|
D | malloc_limit.cpp | 397 return dispatch_table->mallopt(param, value); in LimitMallopt() 399 return Malloc(mallopt)(param, value); in LimitMallopt()
|
D | gwp_asan_wrappers.cpp | 170 Malloc(mallopt),
|
D | malloc_common_dynamic.cpp | 149 if (!InitMallocFunction<MallocMallopt>(impl_handler, &table->mallopt, prefix, "mallopt")) { in InitMallocFunctions()
|
/bionic/libc/malloc_debug/ |
D | LogAllocatorStats.cpp | 50 if (mallopt(M_LOG_STATS, 0) == 0) { in CheckIfShouldLog()
|
D | malloc_debug.cpp | 500 g_dispatch->mallopt(M_PURGE_ALL, 0); in debug_free_malloc_leak_info() 972 return g_dispatch->mallopt(param, value); in debug_mallopt() 1135 g_dispatch->mallopt(M_PURGE_ALL, 0); in write_dump()
|
D | README.md | 346 mallopt(M_LOG_STATS, 0); 349 devices). The mallopt call is not async safe and is not called from the 351 the mallopt is called.
|
/bionic/docs/ |
D | native_allocator.md | 25 Android supports a few non-standard functions and mallopt controls that 51 These are mallopt options that Android requires for a native allocator 55 When set to zero, `mallopt(M_DECAY_TIME, 0)`, it is expected that an 60 When set to non-zero, `mallopt(M_DECAY_TIME, 1)`, an allocator can delay the 72 For all applications on Android, the call `mallopt(M_DECAY_TIME, 1)` is 77 When called, `mallopt(M_PURGE, 0)`, an allocator should purge and release 178 To run the benchmarks with `mallopt(M_DECAY_TIME, 0)`, use these commands: 183 To run the benchmarks with `mallopt(M_DECAY_TIME, 1)`, use these commands: 210 To run the benchmarks with `mallopt(M_DECAY_TIME, 0)`, use these commands: 215 To run the benchmarks with `mallopt(M_DECAY_TIME, 1)`, use these commands: [all …]
|
D | status.md | 179 * `mallopt`
|
/bionic/libc/private/ |
D | bionic_malloc_dispatch.h | 76 MallocMallopt mallopt; member
|
/bionic/libc/include/ |
D | malloc.h | 359 int mallopt(int __option, int __value) __INTRODUCED_IN(26);
|
/bionic/libc/malloc_hooks/ |
D | malloc_hooks.cpp | 176 return g_dispatch->mallopt(param, value); in hooks_mallopt()
|
/bionic/libc/malloc_hooks/tests/ |
D | malloc_hooks_tests.cpp | 191 EXPECT_EQ(0, mallopt(-1000, -1000)); in TEST_F()
|
/bionic/libc/ |
D | libc.map.txt | 1307 mallopt; # introduced=26
|
/bionic/tools/versioner/platforms/ |
D | libc.map.txt | 1307 mallopt; # introduced=26
|
/bionic/libc/malloc_debug/tests/ |
D | malloc_debug_unit_tests.cpp | 172 mallopt,
|