OSDN Git Service

Revert "Revert "Use compiler filter to determine oat file status.""
authorAndreas Gampe <agampe@google.com>
Wed, 23 Mar 2016 15:31:51 +0000 (15:31 +0000)
committerRichard Uhler <ruhler@google.com>
Wed, 23 Mar 2016 20:16:59 +0000 (13:16 -0700)
commit7bcfcb80a31f57a84d754e00bca8698829365208
treead987ae592e4b42348319565e7d394e0e7f9c87b
parent748438ed62dbd130c2f52f2f0ede1ce75b6c28f0
Revert "Revert "Use compiler filter to determine oat file status.""

This reverts commit 845e5064580bd37ad5014f7aa0d078be7265464d.

Add an option to change what OatFileManager considers up-to-date.
In our tests we're allowed to write to the dalvik-cache, so it
cannot be kSpeed.

(cherry picked from commit 29d38e77c553c6cf71fc4dafe2d22b4e3f814872)

Bug: 27689078
Change-Id: I6274188610f31dcd9d086fc080b2be93afae5a6b
27 files changed:
build/Android.gtest.mk
compiler/dex/verification_results.cc
compiler/driver/compiler_options.cc
compiler/driver/compiler_options.h
compiler/optimizing/builder.cc
compiler/optimizing/optimizing_compiler.cc
dex2oat/dex2oat.cc
runtime/Android.mk
runtime/common_runtime_test.cc
runtime/compiler_filter.cc [new file with mode: 0644]
runtime/compiler_filter.h [new file with mode: 0644]
runtime/compiler_filter_test.cc [new file with mode: 0644]
runtime/native/dalvik_system_DexFile.cc
runtime/oat.cc
runtime/oat.h
runtime/oat_file.cc
runtime/oat_file.h
runtime/oat_file_assistant.cc
runtime/oat_file_assistant.h
runtime/oat_file_assistant_test.cc
runtime/oat_file_manager.cc
runtime/oat_file_manager.h
runtime/parsed_options.cc
runtime/runtime.cc
runtime/runtime_options.def
test/117-nopatchoat/nopatchoat.cc
test/run-test