diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-01-26 14:03:11 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-01-26 17:04:55 -0800 |
commit | 137cdfa1e8a3810fb86d3298ec10036c0491d13f (patch) | |
tree | db568fce8feec0ae6910ff1150cf46f08fe7e3e5 /compiler/optimizing/optimizing_compiler.h | |
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
Diffstat (limited to 'compiler/optimizing/optimizing_compiler.h')
0 files changed, 0 insertions, 0 deletions