Commit 403aafa9 authored by Vladimir Marko's avatar Vladimir Marko
Browse files

Fix non-deterministic compilation for const-string...

... in inlined methods that are not in the boot profile.
If such string is not in the boot image for other reasons,
do not resolve the string and use the kBssEntry load kind.

Boot image sizes for aosp_taimen-userdebug:
 - before:
   arm/boot*.art: 12349440
   arm/boot*.oat: 19862024
   arm64/boot*.art: 16609280
   arm64/boot*.oat: 23568592
 - after:
   arm/boot*.art: 12324864 (-24KiB)
   arm/boot*.oat: 19936612 (+73KiB)
   arm64/boot*.art: 16580608 (-28KiB)
   arm64/boot*.oat: 23642120 (+72KiB)

Test: aosp_taimen-userdebug boots.
Test: m test-art-host-gtest
Bug: 26687569
Change-Id: I3e0b72cd5e8c67904517856208f25a6c379ab601
parent 8809c9cd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment