commit | 9e38a503e892d4f22cdad65024cb06241a0a8178 | [log] [tgz] |
---|---|---|
author | Andreas Gampe <agampe@google.com> | Mon Mar 06 08:19:26 2017 -0800 |
committer | Andreas Gampe <agampe@google.com> | Tue Mar 07 15:28:27 2017 -0800 |
tree | 08211622935fbda105acb2e88b275500d1436d78 | |
parent | f014021edfafa26ba8494bf002f1c73ef941bbbb [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