summaryrefslogtreecommitdiff
path: root/compiler/common_compiler_test.cc
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2022-01-10 16:25:19 +0000
committer Vladimir Marko <vmarko@google.com> 2022-01-19 10:38:23 +0000
commit78f62d84f23153d77d542b32e4ebe248bbb6b44c (patch)
tree34891df29a7dfb348fe7066a18c44ef950ada92b /compiler/common_compiler_test.cc
parentfcda00206dfbaf3dccb2848d68390faf92208b7a (diff)
Rewrite interface table setup.
Collect references for all required interfaces and allocate the table of the correct size to avoid reallocation. Add new cases when we can reuse the interface table from the superclass. When there are no new interfaces, check also for concrete class with no new virtual methods. After collecting interface references, re-check if all direct interfaces were already present in the interface table of the superclass. Primary boot images for aosp_oriole-userdebug have unchanged reservation size for both arm and arm64 (the size reduction did not cross a page boundary in any .art file). The boot image extension reservations are smaller by 1 page (4KiB) for arm and 4 pages (16KiB) for arm64. Test: m test-art-host-gtest Test: testrunner.py --host --optimizing Bug: 181943478 Change-Id: I5a0d2d44f53fca05ac6a86888a7d5a673570f9ec
Diffstat (limited to 'compiler/common_compiler_test.cc')
0 files changed, 0 insertions, 0 deletions