/art/test/596-app-images/ |
D | app_images.cc | 62 auto* image_space = space->AsImageSpace(); in Java_Main_checkAppImageLoaded() local 63 const auto& image_header = image_space->GetImageHeader(); in Java_Main_checkAppImageLoaded() 68 check_name(image_space->GetOatFile()->GetLocation(), image_name.c_str())) { in Java_Main_checkAppImageLoaded() 81 auto* image_space = space->AsImageSpace(); in Java_Main_checkAppImageContains() local 82 const auto& image_header = image_space->GetImageHeader(); in Java_Main_checkAppImageContains() 84 if (image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageContains()
|
/art/dex2oat/linker/ |
D | image_write_read_test.cc | 100 gc::space::ImageSpace* image_space = heap->GetBootImageSpaces()[i]; in TestWriteRead() local 101 ASSERT_TRUE(image_space != nullptr); in TestWriteRead() 104 ASSERT_LE(image_space->GetImageHeader().GetImageSize(), image_file_size); in TestWriteRead() 107 ASSERT_LE(image_file_size, image_space->GetImageHeader().GetImageSize()); in TestWriteRead() 110 ASSERT_GT(image_space->GetImageHeader().GetBlockCount() * max_image_block_size, in TestWriteRead() 111 image_space->GetImageHeader().GetImageSize() - kElfSegmentAlignment); in TestWriteRead() 114 image_space->VerifyImageAllocations(); in TestWriteRead() 115 uint8_t* image_begin = image_space->Begin(); in TestWriteRead() 116 uint8_t* image_end = image_space->End(); in TestWriteRead()
|
/art/test/1001-app-image-regions/ |
D | app_image_regions.cc | 41 auto* image_space = space->AsImageSpace(); in Java_Main_checkAppImageSectionSize() local 42 const auto& image_header = image_space->GetImageHeader(); in Java_Main_checkAppImageSectionSize() 43 if (image_header.IsAppImage() && image_space->HasAddress(klass_ptr.Ptr())) { in Java_Main_checkAppImageSectionSize()
|
/art/runtime/oat/ |
D | oat_file_assistant_context.cc | 66 for (const ImageSpace* image_space : runtime->GetHeap()->GetBootImageSpaces()) { local 69 if (image_space->GetComponentCount() > 0) { 71 boot_image_info.component_count = image_space->GetComponentCount(); 72 ImageSpace::AppendImageChecksum(image_space->GetComponentCount(), 73 image_space->GetImageHeader().GetImageChecksum(),
|
D | oat_file_manager.cc | 150 for (gc::space::ImageSpace* image_space : image_spaces) { in GetBootOatFiles() 151 oat_files.push_back(image_space->GetOatFile()); in GetBootOatFiles() 286 std::unique_ptr<gc::space::ImageSpace> image_space; in OpenDexFilesFromOat() local 291 image_space = oat_file_assistant->OpenImageSpace(oat_file.get()); in OpenDexFilesFromOat() 296 if (kEnableRuntimeAppImage && image_space == nullptr && !compilation_enabled) { in OpenDexFilesFromOat() 300 image_space = gc::space::ImageSpace::CreateFromAppImage( in OpenDexFilesFromOat() 302 if (image_space == nullptr) { in OpenDexFilesFromOat() 308 if (image_space != nullptr) { in OpenDexFilesFromOat() 315 oat_file->SetAppImageBegin(image_space->Begin()); in OpenDexFilesFromOat() 325 runtime->GetHeap()->AddSpace(image_space.get()); in OpenDexFilesFromOat() [all …]
|
/art/runtime/ |
D | startup_completed_task.cc | 133 gc::space::ImageSpace* image_space = space->AsImageSpace(); in DeleteStartupDexCaches() local 134 if (image_space->GetImageHeader().IsAppImage()) { in DeleteStartupDexCaches() 135 image_space->ReleaseMetadata(); in DeleteStartupDexCaches()
|
D | intern_table-inl.h | 92 inline void InternTable::AddImageStringsToTable(gc::space::ImageSpace* image_space, in AddImageStringsToTable() argument 94 DCHECK(image_space != nullptr); in AddImageStringsToTable() 96 const ImageHeader& header = image_space->GetImageHeader(); in AddImageStringsToTable() 99 AddTableFromMemory(image_space->Begin() + section.Offset(), visitor, !header.IsAppImage()); in AddImageStringsToTable()
|
D | stack.cc | 715 auto* image_space = space->AsImageSpace(); in ValidateFrame() local 716 const auto& header = image_space->GetImageHeader(); in ValidateFrame() 719 const size_t offset = reinterpret_cast<const uint8_t*>(canonical) - image_space->Begin(); in ValidateFrame()
|
D | intern_table.h | 193 void AddImageStringsToTable(gc::space::ImageSpace* image_space,
|
D | runtime.cc | 1972 for (auto image_space : GetHeap()->GetBootImageSpaces()) { in Init() local 1973 image_space->VerifyImageAllocations(); in Init() 1978 for (gc::space::ImageSpace* image_space : heap_->GetBootImageSpaces()) { in Init() 1979 GetInternTable()->AddImageStringsToTable(image_space, VoidFunctor()); in Init() 2703 auto* image_space = space->AsImageSpace(); in VisitImageRoots() local 2704 const auto& image_header = image_space->GetImageHeader(); in VisitImageRoots()
|
D | Android.bp | 285 "gc/space/image_space.cc",
|
D | class_linker.cc | 11101 gc::space::ImageSpace* image_space = space->AsImageSpace(); in GetHoldingClassLoaderOfCopiedMethod() local 11102 size_t offset = reinterpret_cast<const uint8_t*>(method) - image_space->Begin(); in GetHoldingClassLoaderOfCopiedMethod() 11103 const ImageSection& methods_section = image_space->GetImageHeader().GetMethodsSection(); in GetHoldingClassLoaderOfCopiedMethod() 11109 image_space->GetImageHeader().GetClassTableSection(); in GetHoldingClassLoaderOfCopiedMethod() 11111 const uint8_t* ptr = image_space->Begin() + class_table_section.Offset(); in GetHoldingClassLoaderOfCopiedMethod()
|
/art/runtime/gc/collector/ |
D | immune_spaces_test.cc | 225 std::unique_ptr<FakeImageSpace> image_space(CreateImageSpace(kImageSize, in TEST_F() local 229 ASSERT_TRUE(image_space != nullptr); in TEST_F() 233 const ImageHeader& image_header = image_space->GetImageHeader(); in TEST_F() 239 EXPECT_EQ(image_space->GetOatFile()->Size(), kImageOatSize); in TEST_F() 243 spaces.AddSpace(image_space.get()); in TEST_F() 246 image_space->Begin()); in TEST_F() 248 image_space->Limit()); in TEST_F() 250 EXPECT_NE(image_space->Limit(), space.Begin()); in TEST_F() 255 EXPECT_TRUE(spaces.ContainsSpace(image_space.get())); in TEST_F() 261 image_space->Begin()); in TEST_F()
|
D | immune_spaces.cc | 51 space::ImageSpace* image_space = space->AsImageSpace(); in CreateLargestImmuneRegion() local 53 space_end = RoundUp(reinterpret_cast<uintptr_t>(image_space->GetImageEnd()), in CreateLargestImmuneRegion() 57 const OatFile* const image_oat_file = image_space->GetOatFile(); in CreateLargestImmuneRegion()
|
/art/runtime/gc/accounting/ |
D | mod_union_table.cc | 553 space::ImageSpace* image_space = in UpdateAndMarkReferences() local 557 CardBitVisitor bit_visitor(visitor, space_, image_space != nullptr ? image_space : space_, in UpdateAndMarkReferences()
|
/art/imgdiag/ |
D | imgdiag.cc | 1839 for (gc::space::ImageSpace* image_space : image_spaces) { in DumpImage() 1840 const ImageHeader& image_header = image_space->GetImageHeader(); in DumpImage() 1850 for (gc::space::ImageSpace* image_space : image_spaces) { in DumpImage() 1851 const ImageHeader& image_header = image_space->GetImageHeader(); in DumpImage() 1853 fprintf(stderr, "Invalid image header %s\n", image_space->GetImageLocation().c_str()); in DumpImage() 1857 if (!img_diag_dumper.Dump(image_header, image_space->GetImageLocation(), parent_map)) { in DumpImage()
|
/art/oatdump/ |
D | oatdump.cc | 1781 gc::space::ImageSpace& image_space, in ImageDumper() argument 1787 image_space_(image_space), in ImageDumper() 2512 static int DumpImage(gc::space::ImageSpace* image_space, in DumpImage() argument 2515 const ImageHeader& image_header = image_space->GetImageHeader(); in DumpImage() 2517 LOG(ERROR) << "Invalid image header " << image_space->GetImageLocation(); in DumpImage() 2520 ImageDumper image_dumper(os, *image_space, image_header, options); in DumpImage() 2572 for (gc::space::ImageSpace* image_space : heap->GetBootImageSpaces()) { in DumpImages() 2573 int result = DumpImage(image_space, options, os); in DumpImages()
|
/art/runtime/gc/ |
D | heap.cc | 741 for (space::ImageSpace* image_space : GetBootImageSpaces()) { in Heap() 743 "Image mod-union table", this, image_space); in Heap()
|