summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
authorAndreas Gampe <agampe@google.com>2017-03-06 08:19:26 -0800
committerAndreas Gampe <agampe@google.com>2017-03-07 15:28:27 -0800
commit9e38a503e892d4f22cdad65024cb06241a0a8178 (patch)
tree08211622935fbda105acb2e88b275500d1436d78 /compiler/optimizing/codegen_test_utils.h
parentf014021edfafa26ba8494bf002f1c73ef941bbbb (diff)
ART: Add field offset caching
Add caching to reduce the computational complexity of deriving field indices. Currently cache the number of interface fields. In the future, we may also consider the superclass count to accelerate class visiting. Bug: 31385354 Test: m test-art-host Test: m test-art-host-run-test-906-iterate-heap Test: m test-art-host-run-test-913-heaps Change-Id: I19da243d1678f9a4a047d849193fb8bac01ed53c
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions