summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorVic Yang <victoryang@google.com>2019-01-14 11:34:39 -0800
committerVic Yang <victoryang@google.com>2019-01-14 11:43:41 -0800
commit6903fb81e1da87d2123c6f610cd536080190ffd0 (patch)
treed4513155300f4a848d973b41744dc53aec12ca92 /libc/malloc_debug/malloc_debug.cpp
parentca305a39e50d92dc572f50f00262b3dbb0dece9d (diff)
libc: Sort symbols by size to reduce dirty pages
By sorting symbols by size, small symbols are grouped together and we usually have less dirty pages at runtime. On cuttlefish, this results in 20KB less dirty pages just after libc is loaded. Bug: 112073665 Test: Build libc and check symbol ordering. Test: Compare runtime private dirty memory usage on cuttlefish. Change-Id: Ic8fa996f81adb5a8cbc4b97817d2b94ef0697a2a
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions