diff options
author | Vladimir Marko <vmarko@google.com> | 2016-04-13 19:29:26 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2016-04-19 15:09:02 +0100 |
commit | 116e6e2f36e82156d54f2505909be0a6b2b7247d (patch) | |
tree | 6c8a449293d9d9afb69c2205bc9eb3db89cf3be8 /test/ProfileTestMultiDex/Main.java | |
parent | 78d7c8826d5cca583202085dfde382fb6fcc1629 (diff) |
Use dex cache from compilation unit in HInstructionBuilder.
Avoid calling costly ClassLinker::FindDexCache() from
HInstructionBuilder, the dex cache is already available in
the compilation unit. Compiling Nexus 5 boot image on host
under perf(1) shows that the time spent in FindDexCache()
is reduced from about 2% to well under 0.2%, 90% of the
remaining hits coming from ReferenceTypePropagation which
doesn't have access to the compilation unit.
Bug: 28173563
(cherry picked from commit 3cd50df11b3076b801954018236c366fd9b97948)
Change-Id: Ife0dba2dd8f49bd52f86ddadf06ee787bad03d66
Diffstat (limited to 'test/ProfileTestMultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions