summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
author Jiakai Zhang <jiakaiz@google.com> 2021-12-14 18:54:06 +0000
committer Jiakai Zhang <jiakaiz@google.com> 2021-12-20 15:07:26 +0000
commit389a64732076afed0462790836e024badf7bf333 (patch)
treeb2841a1a6aacbe22a9bad4588e64cb3443dffd61 /java/java.go
parentf25ab75d63805bd6db252d49fa8e47d56e797a0e (diff)
Dexpreopt standalone system server jars.
Standalone system server jars are dynamically loaded by system server using a `PathClassLoader` whose parent is `SYSTEMSERVERCLASSPATH`. They are listed in `PRODUCT_STANDALONE_SYSTEM_SERVER_JARS` and `PRODUCT_APEX_STANDALONE_SYSTEM_SERVER_JARS` in Makefile. We need to dexpreopt them to achieve better performance. Bug: 203198541 Test: m nothing Test: - 1. Add a standalone system server jar (e.g., by patching aosp/1906158) 2. Build a system image. 3. See the odex and vdex files generated in $ANDROID_PRODUCT_OUT/system/framework/oat/ 4. Flash the image to a device. 5. Run `atest art_standalone_dexpreopt_tests`. Change-Id: I358a62d34989c5c8eba12e18fe6167e0b72ff69d
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions