From 5132e0d1433b0962f9609dbbd68427e1fb5a4b9d Mon Sep 17 00:00:00 2001 From: Mathieu Chartier Date: Wed, 10 Jul 2019 09:38:48 -0700 Subject: Add option for controling app image class initialization The new option is --initialize-app-image-classes. This attempts to initialize app image classes by running the class initializers ahead of time. Will test this through test 660, but there are currently aborts when it's enabled. Test: test-art-host Bug: 70735003 Change-Id: Icc05683b23098a15531097f67aad17144f0badaf --- compiler/driver/compiler_options.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/driver/compiler_options.cc') diff --git a/compiler/driver/compiler_options.cc b/compiler/driver/compiler_options.cc index 6a7def8bf9..8d099770bc 100644 --- a/compiler/driver/compiler_options.cc +++ b/compiler/driver/compiler_options.cc @@ -76,6 +76,7 @@ CompilerOptions::CompilerOptions() deduplicate_code_(true), count_hotness_in_compiled_code_(false), resolve_startup_const_strings_(false), + initialize_app_image_classes_(false), check_profiled_methods_(ProfileMethodsCheck::kNone), max_image_block_size_(std::numeric_limits::max()), register_allocation_strategy_(RegisterAllocator::kRegisterAllocatorDefault), -- cgit v1.2.3-59-g8ed1b