diff options
author | Mathieu Chartier <mathieuc@google.com> | 2017-07-16 13:55:27 -0700 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2017-07-17 11:44:40 -0700 |
commit | 3957bfff3af63a889c71d680b4c215a3bc08f5cd (patch) | |
tree | 67b942ecec418da56495f69165fa60674489f8f9 /test/MultiDex | |
parent | 5fde01a13f5000d16fc8f5b96aa0d2f3623d1961 (diff) |
Reduce OatWriter RAM usage for non compilation filters
Avoid allocating full oat classes if compilation is not enabled.
This is accomplished by splitting OatClass into a new OatClassHeader
class that only has status, type, and offset members. This saves
RAM since it is much smaller than the full OatWriter::OatClass.
Maximum resident set size from /usr/bin/time -v on host dex2oat
with compiler filter verify -j4: 287248k->276716k
Bug: 63467744
Test: test-art-host
Change-Id: I6812c259cb8c8c56e122636438a76fdcc1b9a41d
Diffstat (limited to 'test/MultiDex')
0 files changed, 0 insertions, 0 deletions