Searched refs:M_DECAY_TIME (Results 1 – 11 of 11) sorted by relevance
/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_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_benchmark.cpp | 49 mallopt(M_DECAY_TIME, 1); in RunMalloptPurge()
|
D | malloc_rss_benchmark.cpp | 103 mallopt(M_DECAY_TIME, 0); in StressSizeClass()
|
/bionic/docs/ |
D | native_allocator.md | 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 81 purged when `M_DECAY_TIME` is set to one. This is useful if you have a 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: 230 To run the benchmarks with `mallopt(M_DECAY_TIME, 0)`, use these commands: 235 To run the benchmarks with `mallopt(M_DECAY_TIME, 1)`, use these command: [all …]
|
/bionic/libc/include/ |
D | malloc.h | 197 #define M_DECAY_TIME (-100) macro
|
/bionic/tests/ |
D | malloc_test.cpp | 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() 723 std::make_pair(M_DECAY_TIME, "M_DECAY_TIME"), in TEST() 1495 mallopt(M_DECAY_TIME, 1); in TEST() 1760 EXPECT_EQ(1, mallopt(M_DECAY_TIME, 0)); in TEST() 1766 EXPECT_EQ(1, mallopt(M_DECAY_TIME, 1)); in TEST() [all …]
|
D | malloc_stress_test.cpp | 44 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 1)); in TEST()
|
/bionic/libc/bionic/ |
D | jemalloc_wrapper.cpp | 79 if (param == M_DECAY_TIME) { in je_mallopt()
|
D | malloc_common.cpp | 124 if (param == M_DECAY_TIME && retval == 1) { in mallopt()
|