diff options
author | Calin Juravle <calin@google.com> | 2015-11-25 15:59:14 +0000 |
---|---|---|
committer | Calin Juravle <calin@google.com> | 2015-12-02 16:17:21 +0000 |
commit | 27e17fd81cc30e16e86c9c15498cae7f920c9dfe (patch) | |
tree | 96b03ed3671236b696e25e0671e3d6f27604c035 /compiler/dex/quick | |
parent | 47229aa5848df7d45578dbdd9285f57dfa9399a8 (diff) | |
download | art-27e17fd81cc30e16e86c9c15498cae7f920c9dfe.tar.gz art-27e17fd81cc30e16e86c9c15498cae7f920c9dfe.tar.bz2 art-27e17fd81cc30e16e86c9c15498cae7f920c9dfe.zip |
Enable profiled guided compilation in dex2oat
- add parsing of the profile info saved during JIT
- don't compile methods which are not part of the profile info.
- delete old profile hooks
Change-Id: I45a13c3aeb36265d335e57cd160b9ea0fab3cbb5
Diffstat (limited to 'compiler/dex/quick')
-rw-r--r-- | compiler/dex/quick/quick_compiler.cc | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/dex/quick/quick_compiler.cc b/compiler/dex/quick/quick_compiler.cc index 05dde9f649..3260a7a050 100644 --- a/compiler/dex/quick/quick_compiler.cc +++ b/compiler/dex/quick/quick_compiler.cc @@ -780,14 +780,6 @@ CompiledMethod* QuickCompiler::Compile(const DexFile::CodeItem* code_item, PassDriverMEOpts pass_driver(GetPreOptPassManager(), GetPostOptPassManager(), &cu); pass_driver.Launch(); - /* For non-leaf methods check if we should skip compilation when the profiler is enabled. */ - if (cu.compiler_driver->ProfilePresent() - && !cu.mir_graph->MethodIsLeaf() - && cu.mir_graph->SkipCompilationByName(PrettyMethod(method_idx, dex_file))) { - cu.EndTiming(); - return nullptr; - } - if (cu.enable_debug & (1 << kDebugDumpCheckStats)) { cu.mir_graph->DumpCheckStats(); } |