summaryrefslogtreecommitdiff
path: root/compiler/optimizing/code_generator.cc
diff options
context:
space:
mode:
authorDavid Srbecky <dsrbecky@google.com>2018-11-09 12:58:28 +0000
committerDavid Srbecky <dsrbecky@google.com>2018-11-29 11:41:07 +0000
commitdb94f2be59e60bde11ac903c5bf30e63ead67992 (patch)
tree95d66a33cefefac89f84534ac4f023e76ff096d9 /compiler/optimizing/code_generator.cc
parent076c9da66b606057109e5fb2902d28129d120b96 (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
Diffstat (limited to 'compiler/optimizing/code_generator.cc')
0 files changed, 0 insertions, 0 deletions