OSDN Git Service

Enable profiled guided compilation in dex2oat
authorCalin Juravle <calin@google.com>
Wed, 25 Nov 2015 15:59:14 +0000 (15:59 +0000)
committerCalin Juravle <calin@google.com>
Wed, 2 Dec 2015 16:17:21 +0000 (16:17 +0000)
commit27e17fd81cc30e16e86c9c15498cae7f920c9dfe
tree96b03ed3671236b696e25e0671e3d6f27604c035
parent47229aa5848df7d45578dbdd9285f57dfa9399a8
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
16 files changed:
compiler/dex/mir_analysis.cc
compiler/dex/mir_graph.h
compiler/dex/quick/quick_compiler.cc
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver.h
runtime/jit/jit.cc
runtime/jit/offline_profiling_info.cc
runtime/jit/offline_profiling_info.h
runtime/runtime.cc
test/554-jit-profile-file/expected.txt [new file with mode: 0644]
test/554-jit-profile-file/info.txt [new file with mode: 0644]
test/554-jit-profile-file/offline_profile.cc [new file with mode: 0644]
test/554-jit-profile-file/run [new file with mode: 0644]
test/554-jit-profile-file/src-multidex/OtherDex.java [new file with mode: 0644]
test/554-jit-profile-file/src/Main.java [new file with mode: 0644]
test/Android.libarttest.mk