diff options
| author | 2024-10-16 18:27:23 +0000 | |
|---|---|---|
| committer | 2025-02-07 21:44:46 +0000 | |
| commit | 28f2e4b4f2a3f060f7782135d6f713dcf9e841c4 (patch) | |
| tree | 86a4e21dc227176ea5bf405c64a22413ffcf1a74 /libs/androidfw/misc.cpp | |
| parent | 9e935923649cdf29156c854c6630dd9e7d2b2cf0 (diff) | |
Support preload of location/media system libs
These libraries are loaded in ~10% of cold process starts, and
preloading yields modest improvements to both app startup latency
and memory, particularly for lower-end devices.
Add support for preloading these libraries behind a new flag:
com.android.internal.os.enable_media_and_location_preload
Bug: 241474956
Test: m + ART benchmark service
Test: atest FrameworksCoreTests:android.app.ApplicationLoadersTest
Test: abtd + boottime_test_atrace_debug + boot trace inspection
Flag: com.android.internal.os.enable_media_and_location_preload
Change-Id: Ie75aa0d38555b6e5b71be9d535d58fe328c55893
Diffstat (limited to 'libs/androidfw/misc.cpp')
0 files changed, 0 insertions, 0 deletions