diff options
author | Mathieu Chartier <mathieuc@google.com> | 2014-11-06 16:35:45 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2014-11-07 11:01:48 -0800 |
commit | 564ff985184737977aa26c485d0c1a413e530705 (patch) | |
tree | 2acf22ee8689519fda588fee340e797c9922899a /test/MultiDex | |
parent | 9ee0f776095c0a93f388a29f2c37689892baa2df (diff) |
Add hash map, reduce excessive hashing
Changed the class def index to use a HashMap instead of unordered_map
so that we can use FindWithHash to reduce how often we need to compute
hashes.
Fixed a bug in ClassLinker::UpdateClass where we didn't properly
handle classes with the same descriptor but different class loaders.
Introduced by previous CL.
Before (fb launch):
1.74% art::ComputeModifiedUtf8Hash(char const*)
After:
0.95% art::ComputeModifiedUtf8Hash(char const*)
Bug: 18054905
Bug: 16828525
Change-Id: Iba2ee37c9837289e0ea187800ba4af322225a994
Diffstat (limited to 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions