summaryrefslogtreecommitdiff
path: root/libc/malloc_debug/malloc_debug.cpp
diff options
context:
space:
mode:
authorTim Murray <timmurray@google.com>2019-01-08 11:01:18 -0800
committerandroid-build-team Robot <android-build-team-robot@google.com>2019-01-17 21:08:20 +0000
commit973b64c3e55be7f8e14cece946b0c726a31ef2b4 (patch)
treea8a6930da3fad04ed79054576abfbb0c3980e033 /libc/malloc_debug/malloc_debug.cpp
parentb32be3f072132a2833e5ab963ce4a2592436805f (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 Merged-in: If7fa7ad99654c01d503f694976fd92bfd30d2afd (cherry picked from commit dad73ef232034dd0f4f46bda90c74e8727d840cc)
Diffstat (limited to 'libc/malloc_debug/malloc_debug.cpp')
0 files changed, 0 insertions, 0 deletions