Home
last modified time | relevance | path

Searched refs:boot_class_path (Results 1 – 21 of 21) sorted by relevance

/aosp_15_r20/art/runtime/oat/
H A Doat_file_assistant_context.cc44 DCHECK_EQ(runtime_options_->boot_class_path.size(), in OatFileAssistantContext()
48 runtime_options_->boot_class_path.size() == runtime_options_->boot_class_path_files->size()); in OatFileAssistantContext()
57 .boot_class_path = runtime->GetBootClassPath(), in OatFileAssistantContext()
85 DCHECK_LT(bcp_index, runtime_options_->boot_class_path.size());
90 DCHECK_EQ(bcp_index, runtime_options_->boot_class_path.size());
108 for (size_t i = 0; i < runtime_options_->boot_class_path.size(); i++) { in FetchAll()
125 ArrayRef<const std::string>(runtime_options_->boot_class_path), in GetBootImageInfoList()
154 DCHECK_LT(bcp_index, runtime_options_->boot_class_path.size()); in GetBcpChecksums()
163 ArtDexFileLoader dex_loader(file, runtime_options_->boot_class_path[bcp_index]); in GetBcpChecksums()
H A Doat_file_assistant_context.h44 const std::vector<std::string>& boot_class_path; member
H A Doat_file_assistant_test.cc195 .boot_class_path = runtime_->GetBootClassPath(), in CreateOatFileAssistantContext()
/aosp_15_r20/art/runtime/
H A Dparsed_options.cc539 auto boot_class_path = static_cast<std::vector<std::unique_ptr<const DexFile>>*>( in ProcessSpecialOptions() local
543 runtime_options->Set(M::BootClassPathDexList, boot_class_path); in ProcessSpecialOptions()
749 const ParseStringList<':'>* boot_class_path = args.Get(M::BootClassPath); in DoParse() local
750 if (boot_class_path == nullptr || in DoParse()
751 boot_class_path_locations->Size() != boot_class_path->Size()) { in DoParse()
756 (boot_class_path != nullptr) ? boot_class_path->Size() : 0u, in DoParse()
757 (boot_class_path != nullptr) ? boot_class_path->Join().c_str() : "<nil>", in DoParse()
H A Dparsed_options_test.cc38 std::string boot_class_path; in TEST_F() local
40 boot_class_path += "-Xbootclasspath:"; in TEST_F()
51 boot_class_path += class_path; in TEST_F()
56 options.push_back(std::make_pair(boot_class_path.c_str(), nullptr)); in TEST_F()
H A Druntime.cc2010 std::vector<std::unique_ptr<const DexFile>> boot_class_path; in Init() local
2012 boot_class_path.swap(*runtime_options.GetOrDefault(Opt::BootClassPathDexList)); in Init()
2017 &boot_class_path); in Init()
2019 if (!class_linker_->InitWithoutImage(std::move(boot_class_path), &error_msg)) { in Init()
H A Dclass_linker.h171 bool InitWithoutImage(std::vector<std::unique_ptr<const DexFile>> boot_class_path,
H A Dclass_linker.cc682 bool ClassLinker::InitWithoutImage(std::vector<std::unique_ptr<const DexFile>> boot_class_path, in InitWithoutImage() argument
851 if (boot_class_path.empty()) { in InitWithoutImage()
855 for (auto& dex_file : boot_class_path) { in InitWithoutImage()
/aosp_15_r20/art/runtime/gc/space/
H A Dimage_space.h136 static bool LoadBootImage(const std::vector<std::string>& boot_class_path,
242 ArrayRef<ImageSpace* const> image_spaces, ArrayRef<const DexFile* const> boot_class_path);
254 ArrayRef<const std::string> boot_class_path,
313 ArrayRef<const std::string> boot_class_path,
348 ArrayRef<const std::string> boot_class_path, in BootImageLayout() argument
356 boot_class_path_(boot_class_path), in BootImageLayout()
H A Dimage_space.cc1990 std::string boot_class_path = head_bcp.empty() ? in CompileBootclasspathElements() local
2001 args.push_back("-Xbootclasspath:" + boot_class_path); in CompileBootclasspathElements()
2238 BootImageLoader(const std::vector<std::string>& boot_class_path, in BootImageLoader() argument
2249 : boot_class_path_(boot_class_path), in BootImageLoader()
3317 bool ImageSpace::LoadBootImage(const std::vector<std::string>& boot_class_path, in LoadBootImage() argument
3344 BootImageLoader loader(boot_class_path, in LoadBootImage()
3522 ArrayRef<const DexFile* const> boot_class_path) { in GetBootClassPathChecksums() argument
3523 DCHECK(!boot_class_path.empty()); in GetBootClassPathChecksums()
3532 boot_class_path[bcp_pos]->GetLocation()); in GetBootClassPathChecksums()
3548 CHECK_LE(oat_file->GetOatDexFiles().size(), boot_class_path.size() - bcp_pos); in GetBootClassPathChecksums()
[all …]
/aosp_15_r20/art/compiler/optimizing/
H A Dstack_map_stream.cc242 const std::vector<const DexFile*>& boot_class_path = class_linker->GetBootClassPath(); in BeginInlineInfoEntry() local
244 boot_class_path.begin(), boot_class_path.end(), [dex_file](const DexFile* df) { in BeginInlineInfoEntry()
248 dexfile_index = std::distance(boot_class_path.begin(), it); in BeginInlineInfoEntry()
288 const std::vector<const DexFile*>& boot_class_path = class_linker->GetBootClassPath(); in BeginInlineInfoEntry() local
289 DCHECK_LT(method_info.GetDexFileIndex(), boot_class_path.size()); in BeginInlineInfoEntry()
290 CHECK(IsSameDexFile(*boot_class_path[method_info.GetDexFileIndex()], in BeginInlineInfoEntry()
/aosp_15_r20/art/dex2oat/linker/
H A Doat_writer.cc2117 ArrayRef<const DexFile* const> boot_class_path( in InitIndexBssMappings() local
2129 DCHECK_GE(boot_class_path.size(), to_exclude.size()); in InitIndexBssMappings()
2130 DCHECK(std::equal(to_exclude.rbegin(), to_exclude.rend(), boot_class_path.rbegin())); in InitIndexBssMappings()
2131 boot_class_path = boot_class_path.SubArray(0, boot_class_path.size() - to_exclude.size()); in InitIndexBssMappings()
2135 bcp_bss_info_.resize(boot_class_path.size()); in InitIndexBssMappings()
2137 const DexFile* dex_file = boot_class_path[i]; in InitIndexBssMappings()
3065 ArrayRef<const DexFile* const> boot_class_path( in WriteIndexBssMappings() local
3074 DCHECK_GE(boot_class_path.size(), to_exclude.size()); in WriteIndexBssMappings()
3075 DCHECK(std::equal(to_exclude.rbegin(), to_exclude.rend(), boot_class_path.rbegin())); in WriteIndexBssMappings()
3076 boot_class_path = boot_class_path.SubArray(0, boot_class_path.size() - to_exclude.size()); in WriteIndexBssMappings()
[all …]
/aosp_15_r20/art/runtime/jit/
H A Djit.cc806 const std::vector<const DexFile*>& boot_class_path = in Run() local
814 for (const DexFile* dex_file : boot_class_path) { in Run()
855 const std::vector<const DexFile*>& boot_class_path = in Run() local
867 self, boot_class_path, boot_profile, null_handle, /* add_to_queue= */ true); in Run()
874 self, boot_class_path, profile_file, null_handle, /* add_to_queue= */ true); in Run()
/aosp_15_r20/art/dex2oat/
H A Ddex2oat_image_test.cc441 std::vector<std::string> boot_class_path = libcore_dex_files; in TEST_F() local
450 /*boot_class_path=*/boot_class_path, in TEST_F()
529 CopyDexFiles(scratch_dir, &boot_class_path); in TEST_F()
H A Ddex2oat.cc2684 std::string boot_class_path = "-Xbootclasspath:"; in PrepareRuntimeOptions() local
2685 boot_class_path += android::base::Join(dex_filenames_, ':'); in PrepareRuntimeOptions()
2686 raw_options.push_back(std::make_pair(boot_class_path, nullptr)); in PrepareRuntimeOptions()
/aosp_15_r20/art/runtime/native/
H A Ddalvik_system_VMRuntime.cc209 std::string boot_class_path = android::base::Join(Runtime::Current()->GetBootClassPath(), ':'); in VMRuntime_bootClassPath() local
210 return env->NewStringUTF(DefaultToDot(boot_class_path)); in VMRuntime_bootClassPath()
/aosp_15_r20/art/cmdline/
H A Dcmdline.h281 .boot_class_path = boot_class_path_, in GetOatFileAssistantContext()
/aosp_15_r20/art/runtime/interpreter/
H A Dunstarted_runtime.cc582 const std::vector<std::string>& boot_class_path = Runtime::Current()->GetBootClassPath(); in GetResourceAsStream() local
583 if (boot_class_path.empty()) { in GetResourceAsStream()
589 DCHECK(boot_class_path_files.empty() || boot_class_path_files.size() == boot_class_path.size()); in GetResourceAsStream()
596 for (size_t i = 0; i < boot_class_path.size(); ++i) { in GetResourceAsStream()
597 const std::string& jar_file = boot_class_path[i]; in GetResourceAsStream()
/aosp_15_r20/art/runtime/gc/
H A Dheap.h211 const std::vector<std::string>& boot_class_path,
H A Dheap.cc281 const std::vector<std::string>& boot_class_path, in Heap() argument
507 if (space::ImageSpace::LoadBootImage(boot_class_path, in Heap()
/aosp_15_r20/art/artd/
H A Dartd.cc1653 .boot_class_path = *OR_RETURN(GetBootClassPath()), in GetOatFileAssistantContext()