summaryrefslogtreecommitdiff
path: root/test/683-clinit-inline-static-invoke/src-multidex
AgeCommit message (Collapse)Author
2022-09-06Use JDK17-friendly base class in 683-clinit-inline-static-invoke Sorin Basca
Bug: 239968561 Bug: 233029164 Test: art/tools/buildbot-build.sh --dist --host Change-Id: Ic07c81a0dbce27eb438b60ad02ca7589e6777369
2021-10-13Change test to use a public API method to avoid an implementation Martin Stjernholm
dependency on core-icu4j. java.lang.reflect.Modifier.classModifiers() is a public static getter returning a simple static field, just like android.icu.util.TimeZone.getDefaultTimeZoneType, and we dex2oat with the implementation dex jars for core-oj where it's implemented. Test: art/test/testrunner/testrunner.py --target --64 -t 683 Test: art/test/testrunner/testrunner.py --host -t 683 Bug: 202711962 Change-Id: If099f0e8ec9c0057e2b7852e6823e65ecab2112c
2018-08-02Rewrite Class init entrypoint to take a Class arg. Vladimir Marko
Fixes invalid type index being passed to the entrypoint for class init check across dex files when the target type does not have a TypeId in the compilation unit's DexFile. The size of the aosp_taimen-userdebug prebuilts: - before: arm/boot*.oat: 16782748 arm64/boot*.oat: 19764400 oat/arm64/services.odex: 20162432 - after: arm/boot*.oat: 16811692 (+28.3KiB, +0.17%) arm64/boot*.oat: 19801032 (+35.8KiB, +0.19%) oat/arm64/services.odex: 20232208 (+68.1KiB, +0.35%) This increase comes from doing two runtime calls instead of one for HLoadClass/kBssEntry that MustGenerateClinitCheck(). Test: Additional test in 476-clinit-inline-static-invoke Test: m test-art-host-gtest Test: testrunner.py --host --optimizing --jit Test: Pixel 2 XL boots. Test: testrunner.py --target --optimizing --jit Test: testrunner.py --jvm Bug: 111433619 Change-Id: I2fccd6944480ab4dac514f60d38e72c1014ae7b2