Go to file
Vic Yang cc8009ff04 libunwindstack: Move DwarfOp callback table to rodata section
There are currently two copies of DwarfOp callback tables in
data.rel.ro section, and that is 16KB of dirty memory per process on a
64-bit platform.

To reduce memory usage, we introduce a layer of indirection so that
all instances of DwarfOp can share a single callback table.  We also
get rid of the pointers for op names in the callback table so that the
entire table can be placed in rodata section.

Test result shows 1MB saving on cuttlefish, and 750KB saving on a Go
device (32-bit ARM).

Bug: 112073665
Test: Boot on cuttlefish and a Go device.
Change-Id: Idf90a513f37534ab1ef30d5742a9d3ea779f3661
2019-01-24 11:11:15 -08:00
adb Merge "Fix fastdeploy failure in Windows" 2019-01-23 20:52:01 +00:00
adf Make libadf, libsync_recovery recovery_available. 2018-08-07 10:53:07 -07:00
base base: support optional flags in android::base::Pipe. 2019-01-18 14:25:13 -08:00
bootstat switch to using android-base/file.h instead of android-base/test_utils.h 2018-11-14 09:35:34 -08:00
cpio Switch from dist-for-goals to dist in Android.bp 2018-11-19 23:06:12 -08:00
debuggerd debuggerd: Fix return type in error case 2019-01-08 06:29:22 -08:00
demangle Build adbd for recovery 2018-05-24 14:11:11 +09:00
diagnose_usb Build adbd for recovery 2018-05-24 14:11:11 +09:00
fastboot fastbootd: Add command to remove GSI installs 2019-01-17 18:33:14 +00:00
fs_mgr Merge "fs_mgr: overlayfs: test: test mount -o rw,remount command" 2019-01-24 16:26:58 +00:00
gatekeeperd Multi-threaded Keystore 2018-11-07 11:39:23 -08:00
healthd DO NOT MERGE: Revert "Add dependencies on libprocessgroup for sched_policy users" 2019-01-23 20:43:28 -08:00
include
init Do SetUpDmVerity only once for the same mount point 2019-01-23 23:30:13 +00:00
janitors Initial "janitors" owner group. 2019-01-11 16:33:25 -08:00
libappfuse use epoll_create1(EPOLL_CLOEXEC) 2018-12-17 09:32:23 -08:00
libasyncio Build adbd for recovery 2018-05-24 14:11:11 +09:00
libbacktrace Fix offsets when shared lib split across maps. 2018-12-18 11:22:14 -08:00
libbinderwrapper
libcrypto_utils Convert more modules to Android.bp 2018-10-31 21:53:37 -07:00
libcutils DO NOT MERGE: Revert "libcutils: Move sched_policy functions into libprocessgroup" 2019-01-23 20:44:09 -08:00
libdiskconfig
libgrallocusage Merge "Build both static and shared lib." 2018-09-25 22:29:31 +00:00
libion
libkeyutils Build adbd for recovery 2018-05-24 14:11:11 +09:00
liblog Add a version script for liblog for the platform 2019-01-17 11:46:31 -08:00
libmeminfo meminfo: Add support to track working set with idle page tracking. 2019-01-23 22:53:46 -08:00
libmemtrack libmemtrack: Remove libpagemap dependency. 2019-01-21 13:47:27 -08:00
libmemunreachable Validate allocations against mappings 2018-11-29 11:02:56 -08:00
libmetricslogger DO NOT MERGE - Merge pie-platform-release (PPRL.181205.001) into master 2018-12-11 14:46:12 -08:00
libnativebridge Fix sdk-mac build. 2019-01-15 17:39:32 +01:00
libnativeloader Conscrypt should only link against bionic. 2019-01-22 15:32:23 +00:00
libnetutils
libpackagelistparser libpackagelistparser: export profileable_from_shell flag. 2019-01-10 16:24:20 -08:00
libpixelflinger Ignore null-pointer-arithmetic warning from dlmalloc include 2018-12-11 23:08:32 -08:00
libprocessgroup DO NOT MERGE: Revert "Add libprocessgroup into VNDK" 2019-01-23 20:44:47 -08:00
libprocinfo Add missing includes. 2018-12-06 10:09:20 -08:00
libqtaguid
libsparse Fix cert-dcl16-c clang-tidy warnings. 2018-12-11 10:38:27 -08:00
libstats Merge "Remove liblog/uio.c and <log/uio.h>" 2019-01-17 17:19:52 +00:00
libsuspend Remove libsuspend from VNDK. 2018-08-14 13:39:55 -07:00
libsync Merge libsync_recovery rules into libsync. 2018-08-07 11:00:50 -07:00
libsystem Move system/core/ off NO_ERROR. 2018-10-08 11:15:52 -07:00
libsysutils libsysutils can be linked statically 2018-12-06 12:32:49 +09:00
libunwindstack libunwindstack: Move DwarfOp callback table to rodata section 2019-01-24 11:11:15 -08:00
libusbhost
libutils DO NOT MERGE: Revert "Add dependencies on libprocessgroup for sched_policy users" 2019-01-23 20:43:28 -08:00
libvndksupport
libziparchive zip_archive.cc: add O_CLOEXEC 2018-12-18 12:48:06 -08:00
llkd llkd: do not call sync() 2019-01-10 12:52:35 -08:00
lmkd DO NOT MERGE: Revert "Add dependencies on libprocessgroup for sched_policy users" 2019-01-23 20:43:28 -08:00
logcat DO NOT MERGE: Revert "Add dependencies on libprocessgroup for sched_policy users" 2019-01-23 20:43:28 -08:00
logd DO NOT MERGE: Revert "Add dependencies on libprocessgroup for sched_policy users" 2019-01-23 20:43:28 -08:00
logwrapper Build adbd for recovery 2018-05-24 14:11:11 +09:00
mkbootimg Modify mkbootimg.py to support boot image header version 2 2019-01-23 08:35:46 -08:00
property_service Add libc_headers to header_libs for libpropertyinfoparser 2019-01-17 21:18:01 +08:00
qemu_pipe Build adbd for recovery 2018-05-24 14:11:11 +09:00
reboot
rootdir Merge "Add search paths for asan build" 2019-01-24 12:23:36 +00:00
run-as run-as: add shared app gid in supplementary groups. 2019-01-10 15:08:22 -08:00
sdcard Reland "Create new mount directory /mnt/runtime/full." 2019-01-19 00:21:10 +00:00
shell_and_utilities Add setuid/setgid capabilities to simpleperf_app_runner. 2019-01-22 11:20:10 -08:00
storaged Remove liblog's rate limiting 2019-01-16 10:37:14 -08:00
toolbox toolbox: getevent: disable stdout buffering 2019-01-15 16:42:59 +01:00
trusty Merge "trusty: Avoid unnecessary use of static libtrusty" 2019-01-18 21:54:39 +00:00
usbd
watchdogd Move watchdogd out of init 2018-08-02 12:25:58 -07:00
.clang-format
.clang-format-2 Remove PenaltyExcessCharacter from clang-formats. 2018-07-19 13:50:41 -07:00
.clang-format-4 Remove PenaltyExcessCharacter from clang-formats. 2018-07-19 13:50:41 -07:00
.gitignore
Android.bp
Android.mk
CleanSpec.mk Shared libs are supported in recovery mode 2018-06-10 08:32:24 +09:00
MODULE_LICENSE_APACHE2
NOTICE
OWNERS Move per-file OWNERS directives to their directories. 2018-06-06 11:49:40 +09:00
PREUPLOAD.cfg
TEST_MAPPING TEST_MAPPING: add the rest of our actively maintained tests. 2018-10-30 11:24:57 -07:00