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 18:30:29 +0000 (11:30 -0700)
commit29d38e77c553c6cf71fc4dafe2d22b4e3f814872
tree92f34f589af205af56189d221ded293234935c26
parent2e89e901b9f303549f3ba64e45d87292e9c986c8
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.

Bug: 27689078
Change-Id: I0c578705a9921114ed1fb00d360cc7448addc93a
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