OSDN Git Service

Put boot class loader classes and strings in dex cache of app images.
authorNicolas Geoffray <ngeoffray@google.com>
Tue, 26 Apr 2016 17:30:31 +0000 (18:30 +0100)
committerNicolas Geoffray <ngeoffray@google.com>
Tue, 24 May 2016 10:05:39 +0000 (11:05 +0100)
commit1df3b55abea375671b79e3f4e6851be757a2d8a7
treec3f4b9a7d8047a8f3650b6b93a8ebc79842946fb
parentac4d51883f2a87c31945b79e09762937c4d12331
Put boot class loader classes and strings in dex cache of app images.

The reason for b/28295348 was that an ArtMethod of the boot image was
in the app image dex cache, but the declaring class of that
boot image method was not.

Since objects of boot images don't need fixups, the comparisons for
FixupStrings and FixupResolvedTypes was always false for them.

bug:28295348

Change-Id: Ida6d42c902692914c302b7fe3d003f73710de6e1
runtime/class_linker.cc
runtime/mirror/dex_cache-inl.h