diff options
| author | Christopher Ferris <cferris@google.com> | 2019-04-09 05:17:03 -0700 |
|---|---|---|
| committer | android-build-merger <android-build-merger@google.com> | 2019-04-09 05:17:03 -0700 |
| commit | fa0bc997276cda2a9d45c67c909d2f0eeaaa22ea (patch) | |
| tree | c2fc6155506e509081b8f5d54fd1e89464bf6958 | |
| parent | f0c81379fbe46bc9a396bf52b749d0369b990d49 (diff) | |
| parent | a99891172755aa04ab4ad7608807c6d2561bd8c8 (diff) | |
| download | platform_external_jemalloc_new-fa0bc997276cda2a9d45c67c909d2f0eeaaa22ea.tar.gz platform_external_jemalloc_new-fa0bc997276cda2a9d45c67c909d2f0eeaaa22ea.tar.bz2 platform_external_jemalloc_new-fa0bc997276cda2a9d45c67c909d2f0eeaaa22ea.zip | |
Fix performance of multiple same size allocations. am: 0af4ee86df am: 592a1ea7a9
am: a998911727
Change-Id: I36f69641181b3839d8cb88ea57e2ce72e0557867
| -rw-r--r-- | Android.bp | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -59,9 +59,6 @@ common_c_local_includes = [ // 1 << XX is the maximum sized allocation that will be in the tcache. android_common_cflags = [ - "-DANDROID_TCACHE_NSLOTS_SMALL_MIN=1", - "-DANDROID_LG_TCACHE_MAXCLASS_DEFAULT=16", - // Default some parameters to small values to minimize PSS. // These parameters will be overridden by android_product_variables // for non-svelte configs. @@ -76,6 +73,7 @@ android_product_variables = { malloc_not_svelte: { cflags: [ "-DANDROID_ENABLE_TCACHE", + "-DANDROID_LG_TCACHE_MAXCLASS_DEFAULT=16", "-UANDROID_NUM_ARENAS", "-DANDROID_NUM_ARENAS=2", |
