commit | 58c3f6a0d15a4340c0a11ab7fbc8c4b990c64b77 | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Dec 01 14:21:11 2016 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Tue Dec 06 11:01:52 2016 -0800 |
tree | 18788ed5f6ffb44679acaee8faff9a5caf237f13 | |
parent | e4cdd4dbcbc75e373917d22214cd431643cd3610 [diff] |
Reduce calls to DescriptorEquals Store the low 3 bits of the descriptor hash inside of class set entries. Compare these bits before comparing descriptors. Simpleperf interpret-only compile of facebook: mirror::Class::DescriptorEquals(char const*): 3.66% -> 1.03% Bug: 32641252 Test: test-art-host Change-Id: I8d898d4ac7c95383c49401fbcd85bfde226e026c