diff options
author | Mathieu Chartier <mathieuc@google.com> | 2018-11-13 15:09:51 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2018-11-29 17:01:44 -0800 |
commit | 1a8429680f9d08d5f2b49fd93f9ad4df81b7cb66 (patch) | |
tree | 75bb0ef44acf50a3108e85529f0495176afbced9 /compiler/driver/compiler_options.cc | |
parent | f2970cd870948a6ee1c8ecd30c9c3147d05aa0be (diff) |
Add image compressed blocks
Add support for splitting the image into a set of solid blocks.
Added dex2oat option --max-image-block-size and correspodning image
unit test.
Motivation: Enable parallel image decompression in the future.
Bug: 116052292
Test: test-art-host
Change-Id: I37c6c6a43ef94c4a62bf38a0cf51f26ce06347ac
Diffstat (limited to 'compiler/driver/compiler_options.cc')
-rw-r--r-- | compiler/driver/compiler_options.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc index bef5be1c0d..b28c7e0edb 100644 --- a/compiler/driver/compiler_options.cc +++ b/compiler/driver/compiler_options.cc @@ -71,6 +71,7 @@ CompilerOptions::CompilerOptions() count_hotness_in_compiled_code_(false), resolve_startup_const_strings_(false), check_profiled_methods_(ProfileMethodsCheck::kNone), + max_image_block_size_(std::numeric_limits<uint32_t>::max()), register_allocation_strategy_(RegisterAllocator::kRegisterAllocatorDefault), passes_to_run_(nullptr) { } |