summaryrefslogtreecommitdiff
path: root/test/MultiDex
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2017-07-13 15:53:54 +0100
committerNicolas Geoffray <ngeoffray@google.com>2017-07-18 13:28:00 +0100
commitb02ba93fb8089ae70229c4e3e90478cb4a9e4668 (patch)
treedee702cd8570b7993a13d34789ed5b819913ccc8 /test/MultiDex
parent24ff0235ab631baccd49fb491197d86d1ef97279 (diff)
Don't encode OatQuickMethodHeader for non-compiled methods.
Requires changes to the quickening info format stored in vdex. Large app: Before odex size: 5.5MB vdex size: 48MB (49308168 bytes) After: odex size: 1.2MB -78% vdex size: 48MB (49701846 bytes) +1% bug: 62120170 Test: test.py Change-Id: I5ae0b103dc57bdd17aa772f4e43db954d109fd44
Diffstat (limited to 'test/MultiDex')
-rw-r--r--test/MultiDex/Second.java6
1 files changed, 6 insertions, 0 deletions
diff --git a/test/MultiDex/Second.java b/test/MultiDex/Second.java
index 540aedbb1a..5067bcc2e8 100644
--- a/test/MultiDex/Second.java
+++ b/test/MultiDex/Second.java
@@ -18,4 +18,10 @@ class Second {
public String getSecond() {
return "I Second That.";
}
+
+ // This method makes sure the second dex file has quickening
+ // instructions.
+ public String callSecond() {
+ return getSecond();
+ }
}