diff options
Diffstat (limited to 'runtime/common_runtime_test.cc')
-rw-r--r-- | runtime/common_runtime_test.cc | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/runtime/common_runtime_test.cc b/runtime/common_runtime_test.cc index e8c8385066..a14d3862ad 100644 --- a/runtime/common_runtime_test.cc +++ b/runtime/common_runtime_test.cc @@ -99,13 +99,7 @@ void CommonRuntimeTestImpl::SetUp() { options.push_back(std::make_pair(boot_class_path_string, nullptr)); options.push_back(std::make_pair(boot_class_path_locations_string, nullptr)); if (use_boot_image_) { - std::string image_location = GetImageLocation(); - if (!IsHost()) { - // On target, the boot image can be outdated due to an ART update. In such case, the profile - // will be used for generating a boot image in memory. - image_location += "!/apex/com.android.art/etc/boot-image.prof"; - } - options.emplace_back("-Ximage:" + image_location, nullptr); + options.emplace_back("-Ximage:" + GetImageLocation(), nullptr); } options.push_back(std::make_pair("-Xcheck:jni", nullptr)); options.push_back(std::make_pair(min_heap_string, nullptr)); |