diff options
| author | 2016-05-23 15:32:42 +0100 | |
|---|---|---|
| committer | 2016-05-24 17:33:07 +0100 | |
| commit | f6d1e0f6196cb3669dfb4eed8ceef679b0588c0f (patch) | |
| tree | fa9ade37af2b3c5736aa3431e393be348f21532c /runtime/oat_file_assistant.cc | |
| parent | 84f00fe695a7a78551d7f2e8d7bc2bed1ce86a67 (diff) | |
Compile JNI stubs for verify-profile and interpret-only.
This is the intended behavior to have a good JNI transition
performance.
Bug: 28902384
(cherry picked from commit 8c185bf0c6f18a5349bc87a7e3751ba06d90f461)
Change-Id: I52767909b916ada3c619206c8838b85bff5ac316
Diffstat (limited to 'runtime/oat_file_assistant.cc')
| -rw-r--r-- | runtime/oat_file_assistant.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/oat_file_assistant.cc b/runtime/oat_file_assistant.cc index fba10ca014..64b40b71b6 100644 --- a/runtime/oat_file_assistant.cc +++ b/runtime/oat_file_assistant.cc @@ -153,7 +153,7 @@ bool OatFileAssistant::OdexFileCompilerFilterIsOkay(CompilerFilter::Filter targe } OatFileAssistant::DexOptNeeded OatFileAssistant::GetDexOptNeeded(CompilerFilter::Filter target) { - bool compilation_desired = CompilerFilter::IsCompilationEnabled(target); + bool compilation_desired = CompilerFilter::IsBytecodeCompilationEnabled(target); // See if the oat file is in good shape as is. bool oat_okay = OatFileCompilerFilterIsOkay(target); @@ -600,7 +600,7 @@ bool OatFileAssistant::GivenOatFileIsUpToDate(const OatFile& file) { CompilerFilter::Filter current_compiler_filter = file.GetCompilerFilter(); - if (CompilerFilter::IsCompilationEnabled(current_compiler_filter)) { + if (CompilerFilter::IsBytecodeCompilationEnabled(current_compiler_filter)) { if (!file.IsPic()) { const ImageInfo* image_info = GetImageInfo(); if (image_info == nullptr) { |