diff options
author | Vladimir Marko <vmarko@google.com> | 2019-05-17 12:05:28 +0100 |
---|---|---|
committer | Vladimir Marko <vmarko@google.com> | 2019-05-23 11:47:28 +0000 |
commit | f667508a2103cfafd1582df6aeea144490f1d11d (patch) | |
tree | 7394cec1f1463a86deb75dcecca9f3eacd8ecb03 /test/521-checker-array-set-null/src/Main.java | |
parent | 8fa839cfe6f72adabdf79f938c57300e589e0803 (diff) |
ARM/ARM64: Use trampolines for slow-path entrypoint calls.
This reduces the size of the generated code. We do this only
for AOT compilation where we get the most benefit.
Sizes of aosp_taimen-userdebug prebuilts:
- before:
arm/boot*.oat: 19624804
arm64/boot*.oat: 23265752
oat/arm64/services.odex: 22417968
- after:
arm/boot*.oat: 19460500 (-160KiB)
arm64/boot*.oat: 22957928 (-301KiB)
oat/arm64/services.odex: 21957864 (-449KiB)
Test: m test-art-host-gtest
Test: aosp_taimen-userdebug boots.
Test: run-gtests.sh
Test: testrunner.py --target --optimizing
Bug: 12607709
Change-Id: Ie9dbd1ba256173e4e439e8bbb8832a791965cbe6
Diffstat (limited to 'test/521-checker-array-set-null/src/Main.java')
-rw-r--r-- | test/521-checker-array-set-null/src/Main.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/521-checker-array-set-null/src/Main.java b/test/521-checker-array-set-null/src/Main.java index 74bb73f04b..f166b92fa4 100644 --- a/test/521-checker-array-set-null/src/Main.java +++ b/test/521-checker-array-set-null/src/Main.java @@ -22,19 +22,19 @@ public class Main { } /// CHECK-START: void Main.testWithNull(java.lang.Object[]) disassembly (after) - /// CHECK-NOT: pAputObject + /// CHECK: ArraySet needs_type_check:false public static void testWithNull(Object[] o) { o[0] = null; } /// CHECK-START: void Main.testWithUnknown(java.lang.Object[], java.lang.Object) disassembly (after) - /// CHECK: pAputObject + /// CHECK: ArraySet needs_type_check:true public static void testWithUnknown(Object[] o, Object obj) { o[0] = obj; } /// CHECK-START: void Main.testWithSame(java.lang.Object[]) disassembly (after) - /// CHECK-NOT: pAputObject + /// CHECK: ArraySet needs_type_check:false public static void testWithSame(Object[] o) { o[0] = o[1]; } |