diff options
author | 2024-10-31 17:38:03 +0100 | |
---|---|---|
committer | 2024-11-05 13:54:34 +0000 | |
commit | 4d6fdd9fb379ac6e3575c3ec5406d808e0290636 (patch) | |
tree | cd7c157f6ca93745672901a3fafc33a9426c70fe /compiler/compiler.h | |
parent | 389f84b5c45cb58255ebcc44758f04adc37dd5b6 (diff) |
Use .data.img.rel.ro for app image methods.
This should improve app startup as we can skip the target
method resolution on the first call. For `invoke-direct` we
should never go to the resolution trampoline for app image
methods and for `invoke-static` we go to the trampoline only
if the class is not yet visibly initialized and in that case
we still save time as the target method is already known.
Test: m test-art-host-gtest
Test: testrunner.py --host --optimizing --speed-profile
Test: run-gtests.sh
Test: testrunner.py --target --optimizing --speed-profile
Bug: 38313278
Change-Id: I1fea5485264b433fe642c9d0092a5411813eb996
Diffstat (limited to 'compiler/compiler.h')
0 files changed, 0 insertions, 0 deletions