aboutsummaryrefslogtreecommitdiffstats
path: root/include/msvc_compat
diff options
context:
space:
mode:
authorChristopher Ferris <cferris@google.com>2019-04-05 09:59:28 -0700
committerChristopher Ferris <cferris@google.com>2019-04-05 14:48:37 -0700
commit0af4ee86dfa643feb786d659dbb219133c776a34 (patch)
treec2fc6155506e509081b8f5d54fd1e89464bf6958 /include/msvc_compat
parent46971b81ee021c2ca19da8d65bdca8a61669ce41 (diff)
downloadplatform_external_jemalloc_new-0af4ee86dfa643feb786d659dbb219133c776a34.tar.gz
platform_external_jemalloc_new-0af4ee86dfa643feb786d659dbb219133c776a34.tar.bz2
platform_external_jemalloc_new-0af4ee86dfa643feb786d659dbb219133c776a34.zip
It was found that keeping just a few allocations of the same size around (even up to only 3) increases the allocation time significantly. This appears to be because I set the minimum tcache entries to 1. Removing this and the performance comes mostly all of the way back. There is still some loss, but probably just due to a different bin layout than jemalloc 4.x. This does increase the PSS slightly for many processes. About 1MB in my trace runs. However, it increases the performance of most multiple allocations by a factor of three. Bug: 129743239 Test: Ran memory_replay on all traces. Test: Ran new bionic benchmarks to verify things get better. Change-Id: Iff41d5b5002919c4df03fcb7d742e501f9e38b8e
Diffstat (limited to 'include/msvc_compat')
0 files changed, 0 insertions, 0 deletions