Home
last modified time | relevance | path

Searched refs:M_DECAY_TIME (Results 1 – 11 of 11) sorted by relevance

/bionic/benchmarks/
Dstdlib_benchmark.cpp47 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()
Dmalloc_sql_benchmark.cpp111 mallopt(M_DECAY_TIME, 0); in BM_malloc_sql_trace_default()
123 mallopt(M_DECAY_TIME, 1); in BM_malloc_sql_trace_decay1()
DScopedDecayTimeRestorer.h34 virtual ~ScopedDecayTimeRestorer() { mallopt(M_DECAY_TIME, saved_value_); } in ~ScopedDecayTimeRestorer()
Dmalloc_benchmark.cpp49 mallopt(M_DECAY_TIME, 1); in RunMalloptPurge()
Dmalloc_rss_benchmark.cpp103 mallopt(M_DECAY_TIME, 0); in StressSizeClass()
/bionic/docs/
Dnative_allocator.md55 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/
Dmalloc.h197 #define M_DECAY_TIME (-100) macro
/bionic/tests/
Dmalloc_test.cpp681 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 …]
Dmalloc_stress_test.cpp44 ASSERT_EQ(1, mallopt(M_DECAY_TIME, 1)); in TEST()
/bionic/libc/bionic/
Djemalloc_wrapper.cpp79 if (param == M_DECAY_TIME) { in je_mallopt()
Dmalloc_common.cpp124 if (param == M_DECAY_TIME && retval == 1) { in mallopt()