Home
last modified time | relevance | path

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

12

/art/runtime/gc/space/
Dimage_space.h35 class ImageSpace : public MemMapSpace {
132 /*out*/std::vector<std::unique_ptr<ImageSpace>>* boot_image_spaces,
137 static std::unique_ptr<ImageSpace> CreateFromAppImage(const char* image,
142 static std::unique_ptr<ImageSpace> CreateFromAppImage(
145 ArrayRef<ImageSpace* const> boot_image_spaces,
225 static std::string GetBootClassPathChecksums(ArrayRef<ImageSpace* const> image_spaces,
229 static size_t GetNumberOfComponents(ArrayRef<gc::space::ImageSpace* const> image_spaces);
247 ArrayRef<const std::unique_ptr<ImageSpace>> image_spaces,
277 virtual ~ImageSpace();
288 static std::unique_ptr<ImageSpace> Init(const char* image_filename,
[all …]
Dimage_space_test.cc132 std::vector<std::unique_ptr<gc::space::ImageSpace>> boot_image_spaces; in TEST_F()
137 return ImageSpace::LoadBootImage(bcp, in TEST_F()
152 auto contains_test_string = [utf8_test_string](ImageSpace* space) in TEST_F()
169 ImageSpace::kComponentSeparator + extension_image_locations[0] + in TEST_F()
170 ImageSpace::kComponentSeparator + extension_image_locations[1]; in TEST_F()
182 ImageSpace::kComponentSeparator + extension_image_locations[1] + in TEST_F()
183 ImageSpace::kComponentSeparator + extension_image_locations[0]; in TEST_F()
195 base_image_location + ImageSpace::kComponentSeparator + extension_image_locations[0]; in TEST_F()
211 std::vector<ImageSpace*> non_owning_boot_image_spaces = in TEST_F()
213 std::unique_ptr<ImageSpace> app_image_space = ImageSpace::CreateFromAppImage( in TEST_F()
[all …]
Dimage_space.cc76 Atomic<uint32_t> ImageSpace::bitmap_index_(0);
78 ImageSpace::ImageSpace(const std::string& image_filename, in ImageSpace() function in art::gc::space::ImageSpace
135 bool ImageSpace::FindImageFilename(const char* image_location, in FindImageFilename()
181 void ImageSpace::VerifyImageAllocations() { in VerifyImageAllocations()
259 class ImageSpace::PatchObjectVisitor final {
427 class ImageSpace::ClassTableVisitor final {
442 class ImageSpace::RemapInternedStringsVisitor {
491 class ImageSpace::Loader {
493 static std::unique_ptr<ImageSpace> InitAppImage(const char* image_filename, in InitAppImage()
496 ArrayRef<ImageSpace* const> boot_image_spaces, in InitAppImage()
[all …]
Dspace-inl.h31 inline ImageSpace* Space::AsImageSpace() { in AsImageSpace()
33 return down_cast<ImageSpace*>(down_cast<MemMapSpace*>(this)); in AsImageSpace()
Dspace.h50 class ImageSpace; variable
105 ImageSpace* AsImageSpace();
/art/dexoptanalyzer/
Ddexoptanalyzer.cc373 using ImageSpace = gc::space::ImageSpace; in ValidateBcp() typedef
381 auto boot_image_spaces = ArrayRef<ImageSpace* const>(runtime->GetHeap()->GetBootImageSpaces()); in ValidateBcp()
382 const std::string checksums = ImageSpace::GetBootClassPathChecksums(boot_image_spaces, in ValidateBcp()
389 if (!ImageSpace::VerifyBootClassPathChecksums(checksums, in ValidateBcp()
414 !ImageSpace::ValidateOatFile(*oat_file, &error_msg)) { in ValidateBcp()
/art/runtime/
Doat_file_manager.h35 class ImageSpace; variable
77 const std::vector<gc::space::ImageSpace*>& spaces)
Doat_file_assistant.h37 class ImageSpace; variable
195 static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file);
Dintern_table.h32 class ImageSpace; variable
198 void AddImageStringsToTable(gc::space::ImageSpace* image_space,
339 friend class gc::space::ImageSpace;
Doat_file_manager.cc134 std::vector<gc::space::ImageSpace*> image_spaces = in GetBootOatFiles()
138 for (gc::space::ImageSpace* image_space : image_spaces) { in GetBootOatFiles()
154 const std::vector<gc::space::ImageSpace*>& spaces) { in RegisterImageOatFiles()
157 for (gc::space::ImageSpace* space : spaces) { in RegisterImageOatFiles()
246 std::unique_ptr<gc::space::ImageSpace> image_space; in OpenDexFilesFromOat()
Dintern_table-inl.h78 inline void InternTable::AddImageStringsToTable(gc::space::ImageSpace* image_space, in AddImageStringsToTable()
Doat_file_assistant.cc657 result = gc::space::ImageSpace::VerifyBootClassPathChecksums( in ValidateBootClassPathChecksums()
729 std::unique_ptr<gc::space::ImageSpace> OatFileAssistant::OpenImageSpace(const OatFile* oat_file) { in OpenImageSpace()
737 std::unique_ptr<gc::space::ImageSpace> ret = in OpenImageSpace()
738 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.cc173 bool match = gc::space::ImageSpace::VerifyBootClassPathChecksums( in GenerateOatForTest()
Druntime.cc1764 for (gc::space::ImageSpace* image_space : heap_->GetBootImageSpaces()) { in Init()
1769 const size_t total_components = gc::space::ImageSpace::GetNumberOfComponents( in Init()
1770 ArrayRef<gc::space::ImageSpace* const>(heap_->GetBootImageSpaces())); in Init()
1819 ArrayRef<gc::space::ImageSpace* const> image_spaces(GetHeap()->GetBootImageSpaces()); in Init()
1821 boot_class_path_checksums_ = gc::space::ImageSpace::GetBootClassPathChecksums(image_spaces, in Init()
3184 gc::space::ImageSpace* image_space = space->AsImageSpace(); in Run()
/art/dex2oat/
Ddex2oat_image_test.cc293 std::vector<std::string> expanded_mid = gc::space::ImageSpace::ExpandMultiImageLocations( in TEST_F()
303 std::vector<std::string> expanded_tail = gc::space::ImageSpace::ExpandMultiImageLocations( in TEST_F()
388 std::vector<std::string> expanded_single = gc::space::ImageSpace::ExpandMultiImageLocations( in TEST_F()
416 std::vector<std::unique_ptr<gc::space::ImageSpace>> boot_image_spaces; in TEST_F()
423 return gc::space::ImageSpace::LoadBootImage(/*boot_class_path=*/ boot_class_path, in TEST_F()
567 gc::space::ImageSpace::ExpandMultiImageLocations( in TEST_F()
Ddex2oat.cc122 using gc::space::ImageSpace;
879 size_t profile_separator_pos = boot_image_filename_.find(ImageSpace::kProfileSeparator); in ProcessOptions()
905 image_filenames_ = ImageSpace::ExpandMultiImageLocations( in ExpandOatAndImageFilenames()
911 oat_filenames_ = ImageSpace::ExpandMultiImageLocations( in ExpandOatAndImageFilenames()
915 std::vector<std::string> oat_locations = ImageSpace::ExpandMultiImageLocations( in ExpandOatAndImageFilenames()
925 oat_unstripped_ = ImageSpace::ExpandMultiImageLocations( in ExpandOatAndImageFilenames()
1558 [=](const ImageSpace* space) { in Setup()
1599 ArrayRef<ImageSpace* const> image_spaces(runtime->GetHeap()->GetBootImageSpaces()); in Setup()
1602 gc::space::ImageSpace::GetBootClassPathChecksums(image_spaces, bcp_dex_files_dependency)); in Setup()
1609 ArrayRef<ImageSpace* const> image_spaces(runtime->GetHeap()->GetBootImageSpaces()); in Setup()
[all …]
/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 FakeImageSpace : public space::ImageSpace {
47 : ImageSpace("FakeImageSpace", in FakeImageSpace()
/art/runtime/jit/
Djit.cc643 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in NotifyZygoteCompilationDone()
702 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in NotifyZygoteCompilationDone()
730 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in NotifyZygoteCompilationDone()
940 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in Run()
1093 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in MapBootImageMethods()
1169 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in HasImageWithProfile()
1224 for (gc::space::ImageSpace* space : Runtime::Current()->GetHeap()->GetBootImageSpaces()) { in CreateThreadPool()
/art/dex2oat/linker/
Dimage_write_read_test.cc100 gc::space::ImageSpace* image_space = heap->GetBootImageSpaces()[i]; in TestWriteRead()
/art/oatdump/
Doatdump.cc1553 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = heap->GetBootImageSpaces(); in GetBootImageLiveObjectsDataRange()
1579 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = in DumpDataBimgRelRoEntries()
1591 for (gc::space::ImageSpace* space : boot_image_spaces) { in DumpDataBimgRelRoEntries()
1688 gc::space::ImageSpace& image_space, in ImageDumper()
2380 gc::space::ImageSpace& image_space_;
2388 static int DumpImage(gc::space::ImageSpace* image_space, in DumpImage()
2428 std::unique_ptr<gc::space::ImageSpace> space( in DumpImages()
2429 gc::space::ImageSpace::CreateFromAppImage(options->app_image_, oat_file.get(), &error_msg)); in DumpImages()
2455 for (gc::space::ImageSpace* image_space : heap->GetBootImageSpaces()) { in DumpImages()
/art/runtime/gc/
Dheap.h104 class ImageSpace; variable
687 const std::vector<space::ImageSpace*>& GetBootImageSpaces() const { in GetBootImageSpaces()
1657 std::vector<space::ImageSpace*> boot_image_spaces_;
Dheap.cc210 static void VerifyBootImagesContiguity(const std::vector<gc::space::ImageSpace*>& image_spaces) { in VerifyBootImagesContiguity()
455 std::vector<std::unique_ptr<space::ImageSpace>> boot_image_spaces; in Heap()
457 if (space::ImageSpace::LoadBootImage(boot_class_path, in Heap()
472 for (std::unique_ptr<space::ImageSpace>& space : boot_image_spaces) { in Heap()
679 for (space::ImageSpace* image_space : GetBootImageSpaces()) { in Heap()
772 space::ImageSpace* first_space = nullptr; in Heap()
773 for (space::ImageSpace* space : boot_image_spaces_) { in Heap()
4264 [obj](gc::space::ImageSpace* space) REQUIRES_SHARED(Locks::mutator_lock_) { in ObjectIsInBootImageSpace()
4274 [p](gc::space::ImageSpace* space) REQUIRES_SHARED(Locks::mutator_lock_) { in IsInBootImageOatFile()

12