platform_system_core/adb/daemon
Josh Gao 218f766e21 adbd: configure jemalloc to not immediately purge.
Profiling of adb_benchmark revealed that something like half of the CPU
time was being spent in malloc and free, which was odd because the
benchmark repeatedly mallocs and frees allocations of the same size. It
turns out that our default configuration of jemalloc will purge after
every free. Configure jemalloc to not do this, for gains of over 100%
on adb_benchmark, and up to 25% (on walleye USB3) in real-life.

Test: adb_benchmark
Change-Id: I602dd1645c3d21709c7f6a78903511ce4d576558
2018-04-05 15:13:30 -07:00
..
auth.cpp adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
file_sync_service.cpp adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
framebuffer_service.cpp adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
jdwp_service.cpp adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
main.cpp adbd: configure jemalloc to not immediately purge. 2018-04-05 15:13:30 -07:00
mdns.cpp adb: kill adb_thread_{create, join, detach, exit}. 2017-04-12 17:12:32 -07:00
mdns.h Make ADBD announce its presence over mDNS 2017-03-07 14:42:06 -08:00
remount_service.cpp adb: switch over to Android.bp. 2018-02-28 15:29:50 -08:00
set_verity_enable_state_service.cpp adb: checks device state when using adb disable-verity for AVB 2018-03-15 18:34:42 +08:00
shell_service.cpp Merge "adbd: spawn login shell when run without a command." 2018-03-29 20:19:27 +00:00
shell_service_test.cpp adb: delete vestigial SHELL_EXIT_NOTIFY_FD. 2018-03-21 15:13:07 -07:00
usb.cpp Merge "adb: Open FunctionFS files with more restrictive access modes" 2018-03-26 18:48:25 +00:00
usb.h adb: Remove usages of ENDPOINT_ALLOC 2018-03-16 15:33:26 -07:00