OSDN Git Service

Add and use loaded class profiling
authorMathieu Chartier <mathieuc@google.com>
Thu, 10 Dec 2015 00:38:30 +0000 (16:38 -0800)
committerMathieu Chartier <mathieuc@google.com>
Fri, 26 Feb 2016 21:07:39 +0000 (13:07 -0800)
commitc5dd319c574f67d11a71f1b60ac6c34bfe93b750
tree51de8bdd7a891478e6d22a6f53781d53290c2d20
parent01c30e8dbc45bdc5d922cef6e5a404be7bed0e8c
Add and use loaded class profiling

Class profiling is a way to keep track of which classes are resolved.
From here the compiler can use this information to generate a smaller
app image.

TODO: Add tests for profile stuff.

Bug: 22858531

(cherry picked from commit 8913fc1a27df8cf3b37fd99e94d87f290591328e)

Change-Id: Ifcd09230cbdc266305bc1247e0d31e7920eb353e
13 files changed:
compiler/driver/compiler_driver.cc
compiler/driver/compiler_driver_test.cc
dex2oat/dex2oat.cc
profman/profile_assistant_test.cc
runtime/class_linker.cc
runtime/class_linker.h
runtime/dex_cache_resolved_classes.h [new file with mode: 0644]
runtime/gc/space/image_space.cc
runtime/jit/offline_profiling_info.cc
runtime/jit/offline_profiling_info.h
runtime/jit/profile_compilation_info_test.cc
runtime/jit/profile_saver.cc
runtime/jit/profile_saver.h