commit | 137cdfa1e8a3810fb86d3298ec10036c0491d13f | [log] [tgz] |
---|---|---|
author | Mathieu Chartier <mathieuc@google.com> | Thu Jan 26 14:03:11 2017 -0800 |
committer | Mathieu Chartier <mathieuc@google.com> | Thu Jan 26 17:04:55 2017 -0800 |
tree | db568fce8feec0ae6910ff1150cf46f08fe7e3e5 | |
parent | fbf47ea64a9f797a82030e919fa4f085c9eb5b28 [diff] |
Avoid read barriers for ArtMethod::GetDexFile Shows up in pmd benchmark from Class::FindDeclaredDirectMethod and Class::FindDeclaredVirtualMethod. There are still calls to IsProxyMethod that could probably be eliminated. ReadBarrier::Mark goes from 12.39% to 3.45% according to perf. Test: test-art-host Change-Id: I6a4f2fa2d68bf5f393f83b9b70e8d6fcc9dbdaa2