diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-07-16 17:08:19 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-07-17 10:00:25 -0700 |
commit | 88b74b6a4dbbe0b5b75ef1738833e5b064e85d4c (patch) | |
tree | 478b20d75a1671be187e867fde1317aeb8b19515 /test/MultiDex/Main.java | |
parent | 65d793bfa91085db5f84b6ee90a3dcdafcafed1b (diff) |
Avoid creating compiled_methods_ array unnecessarily
For compiler filters that don't quicken or compile, avoid creating
the compiled method arrays to save RAM.
For a dex2oat of a large app with verify filter -j4 on the host:
Reduce native alloc from 39MB to 35MB
Maximum resident set size (kbytes): 287592k -> 282696k
Bug: 63467744
Test: test-art-host
Change-Id: Ib84fd9337dc7f5f1e32017bf2c392d1d3328fba8
Diffstat (limited to 'test/MultiDex/Main.java')
0 files changed, 0 insertions, 0 deletions