diff options
author | Andreas Gampe <agampe@google.com> | 2016-06-24 21:05:23 -0700 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2016-06-29 20:03:40 -0700 |
commit | 67f02829d08c2045090a9061c08c15f162fb72f0 (patch) | |
tree | 73de29d2c7094033da293fa0ee4622537c1be93e /compiler/optimizing/graph_visualizer.cc | |
parent | 0d38e26dad942e51bd540a28c7fbd526f663b0ff (diff) |
ART: Add very-large threshold to dex2oat
Add a variable threshold to dex2oat. If the total dex file size for
an app reaches this threshold, dex2oat will punt all compilation and
compile the app with verify-at-runtime. This ensures smaller compile
time and memory thrashing, while still extracting the dex files and
thus helping with dirty memory later.
Added tests.
Bug: 29557002
Bug: 29790079
Test: m test-art-host-gtest-dex2oat_test
Change-Id: I78870e4a80ccaafcbbe56839e61ced0acd2ca05e
(cherry picked from commit 338a1d206c16427cf61bd42171fa0c8b9cea8165)
Diffstat (limited to 'compiler/optimizing/graph_visualizer.cc')
0 files changed, 0 insertions, 0 deletions