Update JIT Zygote to support compiling the entire bootclasspath.
After this change:
1. The runtime does not assume that the primary boot image always
exists, and compiles the primary boot image if it is missing or
broken.
2. Profiles can be specified for the the primary boot image in the
"-Ximage" flag.
3. Multiple profiles can be specified for any image in the "-Ximage"
flag (separated by "!").
Bug: 203492478
Test: atest art_standalone_runtime_tests
Test: manual -
1. Build test_jitzygote_com.android.art and install it.
2. adb shell setprop dalvik.vm.extra-opts '-verbose:image'
3. adb shell setprop dalvik.vm.boot-image "/nowhere/boot.art\!/apex/com.android.art/etc/boot-image.prof\!/system/etc/boot-image.prof"
4. adb shell setprop ctl.restart zygote
5. See the logs: http://gpaste/5150329952796672 (and similar logs for 32bit)
Change-Id: I317efda2f17e34808f34a10d095c2598ec056233
9 files changed