summaryrefslogtreecommitdiff
path: root/compiler/optimizing/codegen_test_utils.h
diff options
context:
space:
mode:
author Nicolas Geoffray <ngeoffray@google.com> 2023-07-10 15:27:22 +0100
committer Nicolas Geoffray <ngeoffray@google.com> 2023-09-22 16:17:56 +0000
commitc99838dfc0f9198887030e1e00c178e0aacd20d1 (patch)
tree60be454fdab5c243eec61b142e23b1af57da58c7 /compiler/optimizing/codegen_test_utils.h
parent01db7eea5dfd9da402699055b53e4331b8963340 (diff)
Add a small pattern matcher to JIT compilation.
Many small methods can easily be recognized and generic code can be returned for them. To save on compilation time and JIT memory usage, try to pattern match small methods before doing heavy JIT compilation. libart-compiler.so size increase: < 4K Average number of methods recognized in an APK: ~10%. Average number of methods tried for pattern matching: ~20% Compilation speed relative to baseline: ~800x faster. Test: test.py Change-Id: Ib684aa25f2cf7ae83874948370960838305af6e3
Diffstat (limited to 'compiler/optimizing/codegen_test_utils.h')
0 files changed, 0 insertions, 0 deletions