diff options
author | Mathieu Chartier <mathieuc@google.com> | 2016-12-01 14:21:11 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2016-12-06 11:01:52 -0800 |
commit | 58c3f6a0d15a4340c0a11ab7fbc8c4b990c64b77 (patch) | |
tree | 18788ed5f6ffb44679acaee8faff9a5caf237f13 /compiler/optimizing/code_generator_utils.h | |
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
Diffstat (limited to 'compiler/optimizing/code_generator_utils.h')
0 files changed, 0 insertions, 0 deletions