diff options
author | Vladimir Marko <vmarko@google.com> | 2019-03-11 15:55:21 +0000 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2019-03-12 14:11:25 +0000 |
commit | 8809c9cd8d7f477e0a74f68537c864e3b7a35db3 (patch) | |
tree | 56619f00a3df14fd2b9c08fa23e951bb68af5c58 /test/ProfileTestMultiDex/Main.java | |
parent | 2d8b8119228bbe4202490b1d5fed6191989d5d83 (diff) |
Preload const-strings only for profile methods.
This fixes a boot image size regression due to including all
the const-strings.
Note that this re-introduces one source of non-determinism
when compiling the boot image, i.e. string resolution for
inlined methods not present in the profile. This shall be
fixed by a follow-up CL.
Boot image sizes for aosp_taimen-userdebug:
- before:
arm/boot*.art: 14483456
arm64/boot*.art: 18751488
- after:
arm/boot*.art: 12349440 (-2.0MiB)
arm64/boot*.art: 16609280 (-2.0MiB)
Test: aosp_taimen-userdebug boots.
Test: m test-art-host-gtest
Bug: 76145463
Bug: 26687569
Change-Id: I5127d58bc7bdf24532fda6cc7d32a1bd2068452e
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions