summaryrefslogtreecommitdiff
path: root/test/008-exceptions/src/MultiDexBadInitWrapper1.java
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2017-07-14 18:23:25 -0700
committerMathieu Chartier <mathieuc@google.com>2017-08-08 11:15:11 -0700
commit921cb1d8677f4e9e20b978d42f50d4b49bd229d5 (patch)
treed76b29bae8f936ab3c93dab6da7b87c3ca5ab8b2 /test/008-exceptions/src/MultiDexBadInitWrapper1.java
parent543a4d347c5e458486eccf7a42143a140cf486ef (diff)
Use class unloading in dex2oat for verify and extract
Unload the main classloader in between each dex file compilation to reduce RAM. This frees the whole java heap and associated linear allocs. This is only used for quickening since filters that do compilation may require loaded classes in the compiler and oat writer. This reduces dex2oat peak PSS for compiling a large app from 196MB to 135MB. Only works for verify and extract since the current approach is incompatible with oat writer patching. b/63911263 Added a verification override that reads the compiled class status to avoid ever verifying classes that were quickened (since this is not supported and causes failures). There is still some duplicated verification for some class with superclasses in other dex files. Support for quicken will be added in a follow up CL. (cherry-picked from commit 72041a0dcb5b7c133b79a1d6783a23039f2136bd) Merged-In: Id0e4f84eb5db91d6143f752b498f4832a5b25b6e Bug: 63467744 Bug: 64473133 Test: test-art-host Test: test/testrunner/testrunner.py --interpreter --host -j40 Change-Id: Id0e4f84eb5db91d6143f752b498f4832a5b25b6e
Diffstat (limited to 'test/008-exceptions/src/MultiDexBadInitWrapper1.java')
0 files changed, 0 insertions, 0 deletions