commit | db94f2be59e60bde11ac903c5bf30e63ead67992 | [log] [tgz] |
---|---|---|
author | David Srbecky <dsrbecky@google.com> | Fri Nov 09 12:58:28 2018 +0000 |
committer | David Srbecky <dsrbecky@google.com> | Thu Nov 29 11:41:07 2018 +0000 |
tree | 95d66a33cefefac89f84534ac4f023e76ff096d9 | |
parent | 076c9da66b606057109e5fb2902d28129d120b96 [diff] |
Reduce the number of calls to Jit::AddSamples. The method is called for every invoke which is expensive. Add samples, but don't check the consequences every time. This reduces its cost from 3.5% to 1% (maps on device). Test: ./art/test.py -b -r --host --64 Change-Id: Ie90da905d067b5d85a3c494c7c9af81b24dc8135