summaryrefslogtreecommitdiff
path: root/test/ProfileTestMultiDex/Second.java
diff options
context:
space:
mode:
authorVladimir Marko <vmarko@google.com>2019-02-26 09:51:56 +0000
committerVladimir Marko <vmarko@google.com>2019-02-27 11:22:24 +0000
commitffe26cc54fac4f1997e5dbf6991da9e95ce49e31 (patch)
tree90ab59966e687d4d801a3360d9af5264dd9f04f7 /test/ProfileTestMultiDex/Second.java
parentd736ebcb7fb2b2612b25df6eee06a494921eba3a (diff)
Revert^2 "Fix oatdump .data.bimg.rel.ro for intrinsics."
This reverts commit 44044b1522c7486ca8b308bf49b1f39b82626e6d. Failing test was disabled for SS/GSS/Debug GC. Test: Additional test in oatdump_app_test Test: m test-art-host-gtest Bug: 71526895 Bug: 126305867 Change-Id: I2cf598ef735ca87430cdb007e7331ad444edad43
Diffstat (limited to 'test/ProfileTestMultiDex/Second.java')
-rw-r--r--test/ProfileTestMultiDex/Second.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/test/ProfileTestMultiDex/Second.java b/test/ProfileTestMultiDex/Second.java
index 4b3c7a479b..9f5dc66742 100644
--- a/test/ProfileTestMultiDex/Second.java
+++ b/test/ProfileTestMultiDex/Second.java
@@ -30,3 +30,11 @@ class SubC extends Super {
int getValue() { return 24; }
}
+class TestIntrinsicOatdump {
+ Integer valueOf(int i) {
+ // ProfileTestMultiDex is used also for testing oatdump for apps.
+ // This is a regression test that oatdump can handle .data.bimg.rel.ro
+ // entries pointing to the middle of the "boot image live objects" array.
+ return Integer.valueOf(i);
+ }
+}