diff options
author | Tim Murray <timmurray@google.com> | 2019-01-08 11:01:18 -0800 |
---|---|---|
committer | Tim Murray <timmurray@google.com> | 2019-01-08 13:27:41 -0800 |
commit | 466e0ecb88a5cbdd0528ff22e81fa7c028ee9799 (patch) | |
tree | 30b39f313e493754173eabb9667153b53ad9de3c /libc/malloc_debug/malloc_debug.cpp | |
parent | 5d89fbd207ce5ab09c6ae54193d82b8495c839c5 (diff) |
Remove some PR_SET_VMAs during pthread_create
PR_SET_VMA takes mmap_sem, which can cause contention and reduce
performance any time many threads are created at the same time,
like app startup.
Test: camera launch performance
Bug: 122471935
Change-Id: If7fa7ad99654c01d503f694976fd92bfd30d2afd
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions