Home
last modified time | relevance | path

Searched refs:ImageSpace (Results 1 – 25 of 35) sorted by relevance

12

/art/runtime/gc/space/
Dimage_space_test.cc58 EXPECT_TRUE(ImageSpace::ValidateOatFile(*oat, &error_msg)) << error_msg; in TEST_F()
62 EXPECT_FALSE(ImageSpace::ValidateOatFile(*oat, &error_msg)); in TEST_F()
66 EXPECT_TRUE(ImageSpace::ValidateOatFile(*oat, &error_msg)) << error_msg; in TEST_F()
70 EXPECT_FALSE(ImageSpace::ValidateOatFile(*oat, &error_msg)); in TEST_F()
74 EXPECT_TRUE(ImageSpace::ValidateOatFile(*oat, &error_msg)) << error_msg; in TEST_F()
78 EXPECT_FALSE(ImageSpace::ValidateOatFile(*oat, &error_msg)); in TEST_F()
82 EXPECT_TRUE(ImageSpace::ValidateOatFile(*oat, &error_msg)) << error_msg; in TEST_F()
86 EXPECT_FALSE(ImageSpace::ValidateOatFile(*oat, &error_msg)); in TEST_F()
90 EXPECT_TRUE(ImageSpace::ValidateOatFile(*oat, &error_msg)) << error_msg; in TEST_F()
94 EXPECT_FALSE(ImageSpace::ValidateOatFile(*oat, &error_msg)); in TEST_F()
[all …]
Dimage_space.h36 class ImageSpace : public MemMapSpace {
57 /*out*/std::vector<std::unique_ptr<space::ImageSpace>>* boot_image_spaces,
61 static std::unique_ptr<ImageSpace> CreateFromAppImage(const char* image,
146 static std::string GetBootClassPathChecksums(const std::vector<ImageSpace*>& image_spaces,
173 virtual ~ImageSpace();
185 static std::unique_ptr<ImageSpace> Init(const char* image_filename,
196 ImageSpace(const std::string& name,
232 DISALLOW_COPY_AND_ASSIGN(ImageSpace);
Dspace-inl.h31 inline ImageSpace* Space::AsImageSpace() { in AsImageSpace()
33 return down_cast<ImageSpace*>(down_cast<MemMapSpace*>(this)); in AsImageSpace()
Dimage_space.cc67 Atomic<uint32_t> ImageSpace::bitmap_index_(0);
69 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() function in art::gc::space::ImageSpace
234 bool ImageSpace::FindImageFilename(const char* image_location, in FindImageFilename()
276 std::unique_ptr<ImageHeader> ImageSpace::ReadImageHeader(const char* image_location, in ReadImageHeader()
345 void ImageSpace::VerifyImageAllocations() { in VerifyImageAllocations()
418 class ImageSpace::PatchObjectVisitor final {
657 class ImageSpace::ClassTableVisitor final {
674 class ImageSpace::Loader {
676 static std::unique_ptr<ImageSpace> InitAppImage(const char* image_filename, in InitAppImage()
684 std::unique_ptr<ImageSpace> space = Init(image_filename, in InitAppImage()
[all …]
Dspace.h50 class ImageSpace; variable
105 ImageSpace* AsImageSpace();
/art/runtime/
Doat_file_manager.h34 class ImageSpace; variable
79 const std::vector<gc::space::ImageSpace*>& spaces)
Doat_file_assistant.h37 class ImageSpace; variable
183 static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file);
Dintern_table-inl.h28 inline void InternTable::AddImageStringsToTable(gc::space::ImageSpace* image_space, in AddImageStringsToTable()
Dintern_table.h35 class ImageSpace; variable
189 void AddImageStringsToTable(gc::space::ImageSpace* image_space,
338 friend class gc::space::ImageSpace;
Doat_file_manager.cc129 std::vector<gc::space::ImageSpace*> image_spaces = in GetBootOatFiles()
133 for (gc::space::ImageSpace* image_space : image_spaces) { in GetBootOatFiles()
163 const std::vector<gc::space::ImageSpace*>& spaces) { in RegisterImageOatFiles()
166 for (gc::space::ImageSpace* space : spaces) { in RegisterImageOatFiles()
545 std::unique_ptr<gc::space::ImageSpace> image_space; in OpenDexFilesFromOat()
Doat_file_assistant.cc645 std::string boot_class_path_checksums = gc::space::ImageSpace::GetBootClassPathChecksums( in ValidateBootClassPathChecksums()
719 std::unique_ptr<gc::space::ImageSpace> OatFileAssistant::OpenImageSpace(const OatFile* oat_file) { in OpenImageSpace()
727 std::unique_ptr<gc::space::ImageSpace> ret = in OpenImageSpace()
728 gc::space::ImageSpace::CreateFromAppImage(art_file.c_str(), oat_file, &error_msg); in OpenImageSpace()
Ddebug_print.cc43 gc::space::ImageSpace* ispace = cs->AsImageSpace(); in DescribeSpace()
Ddexopt_test.cc122 std::string boot_image_checksums = gc::space::ImageSpace::GetBootClassPathChecksums( in GenerateOatForTest()
Dcommon_runtime_test.cc408 const std::vector<gc::space::ImageSpace*>& image_spaces = in StartDex2OatCommandLine()
Dvdex_file.cc332 return gc::space::ImageSpace::GetBootClassPathChecksums( in ComputeBootClassPathChecksumString()
/art/imgdiag/
Dimgdiag_test.cc50 std::vector<gc::space::ImageSpace*> image_spaces = in SetUp()
/art/runtime/gc/collector/
Dimmune_spaces.cc51 space::ImageSpace* image_space = space->AsImageSpace(); in CreateLargestImmuneRegion()
Dimmune_spaces_test.cc41 class DummyImageSpace : public space::ImageSpace {
47 : ImageSpace("DummyImageSpace", in DummyImageSpace()
/art/compiler/optimizing/
Dsharpening.cc39 const std::vector<gc::space::ImageSpace*>& image_spaces = in IsInBootImage()
41 for (gc::space::ImageSpace* image_space : image_spaces) { in IsInBootImage()
Dintrinsics.cc64 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = heap->GetBootImageSpaces(); in GetBootImageLiveObjects()
/art/dex2oat/linker/
Dimage_test.h176 gc::space::ImageSpace::ExpandMultiImageLocations(out_helper.dex_file_locations, in DoCompile()
476 gc::space::ImageSpace* image_space = heap->GetBootImageSpaces()[i]; in TestWriteRead()
/art/dex2oat/
Ddex2oat.cc105 using gc::space::ImageSpace;
1003 image_filenames_ = ImageSpace::ExpandMultiImageLocations(dex_locations_, image_filenames_[0]); in ExpandOatAndImageFilenames()
1008 oat_filenames_ = ImageSpace::ExpandMultiImageLocations(dex_locations_, oat_filenames_[0]); in ExpandOatAndImageFilenames()
1014 oat_unstripped_ = ImageSpace::ExpandMultiImageLocations(dex_locations_, oat_unstripped_[0]); in ExpandOatAndImageFilenames()
1519 std::vector<ImageSpace*> image_spaces = runtime->GetHeap()->GetBootImageSpaces(); in Setup()
1524 gc::space::ImageSpace::GetBootClassPathChecksums(image_spaces, bcp_dex_files)); in Setup()
1962 for (ImageSpace* image_space : heap->GetBootImageSpaces()) { in WriteOutputFiles()
/art/oatdump/
Doatdump.cc1654 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = heap->GetBootImageSpaces(); in GetBootImageLiveObjectsDataRange()
1680 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = in DumpDataBimgRelRoEntries()
1692 for (gc::space::ImageSpace* space : boot_image_spaces) { in DumpDataBimgRelRoEntries()
1789 gc::space::ImageSpace& image_space, in ImageDumper()
2725 gc::space::ImageSpace& image_space_;
2734 static int DumpImage(gc::space::ImageSpace* image_space, in DumpImage()
2776 std::unique_ptr<gc::space::ImageSpace> space( in DumpImages()
2777 gc::space::ImageSpace::CreateFromAppImage(options->app_image_, oat_file.get(), &error_msg)); in DumpImages()
2798 for (gc::space::ImageSpace* image_space : heap->GetBootImageSpaces()) { in DumpImages()
/art/runtime/gc/
Dheap.h102 class ImageSpace; variable
679 const std::vector<space::ImageSpace*>& GetBootImageSpaces() const { in GetBootImageSpaces()
1552 std::vector<space::ImageSpace*> boot_image_spaces_;
Dheap.cc370 std::vector<std::unique_ptr<space::ImageSpace>> boot_image_spaces; in Heap()
372 if (space::ImageSpace::LoadBootImage(boot_class_path, in Heap()
389 for (std::unique_ptr<space::ImageSpace>& space : boot_image_spaces) { in Heap()
603 for (space::ImageSpace* image_space : GetBootImageSpaces()) { in Heap()
698 space::ImageSpace* first_space = nullptr; in Heap()
699 for (space::ImageSpace* space : boot_image_spaces_) { in Heap()
4243 for (gc::space::ImageSpace* space : boot_image_spaces_) { in ObjectIsInBootImageSpace()
4252 for (gc::space::ImageSpace* space : boot_image_spaces_) { in IsInBootImageOatFile()
4272 for (gc::space::ImageSpace* space_ : GetBootImageSpaces()) { in GetBootImagesSize()

12