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 19:35:59 +0000 (11:35 -0800)
commit8913fc1a27df8cf3b37fd99e94d87f290591328e
tree103dae9d86a153e8520dfa9f733c3208bcadd06d
parent167e638ffd46186ef4fa26d1c0b6c7e00ed51ccb
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

Change-Id: I91ccd686394cc2517512f66abb0e277f3d26d4da
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