commit | a1ff30fcb3c23b855872ef83b87e6ee19f03cb8e | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Tue Sep 27 12:19:45 2016 -0700 |
committer | Andreas Gampe <agampe@google.com> | Mon Oct 10 14:29:26 2016 -0700 |
tree | 43d6533d594bc898ffeb016bc8895bd8da3efe1e | |
parent | 5065b09332328477d489b8ce26c3a1381e6f8d49 [diff] |
ART: Switch to name-based IMT hashing Use a hash scheme based on the name. This keeps IMT slots stable when dex tables change. This incurs a severe performance penalty for computing the slot. Measurements on host degraded from 30ns to an average of 85mus. However, calls in compiled code will not incur this overhead. Added a test comparing similar interfaces in similar dex files. Bug: 31594153 Test: test-art-host Change-Id: Ibb86679ee94bec561984ea25826e56b1a7964cd0