OSDN Git Service

profile_changed should not effect GetBestOatFile.
authorRichard Uhler <ruhler@google.com>
Fri, 15 Apr 2016 22:18:56 +0000 (15:18 -0700)
committerRichard Uhler <ruhler@google.com>
Thu, 7 Jul 2016 23:13:00 +0000 (16:13 -0700)
commitd1472a27e856ec68ab5a27abaaebe9c61d91d343
tree7a3aa99465a6b1f5563bdced3af009bd628bfacd
parent4c7f1933cb5d5cdd43741a5e352d662187f81ca4
profile_changed should not effect GetBestOatFile.

This change moves the check for whether a profile changed from
GetBestOatFile to GetDexOptStatus, because profile_changed should not
effect what oat files are loaded.

Test: OatFileAssistantTest.ProfileOatUpToDate
Change-Id: Iafd12677f20d2844809337d1d83b688f17461cc0
dex2oat/dex2oat.cc
runtime/native/dalvik_system_DexFile.cc
runtime/oat_file_assistant.cc
runtime/oat_file_assistant.h
runtime/oat_file_assistant_test.cc
runtime/oat_file_manager.cc