/art/runtime/gc/space/ |
D | image_space.h | 35 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 …]
|
D | image_space_test.cc | 132 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 …]
|
D | image_space.cc | 76 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 …]
|
D | space-inl.h | 31 inline ImageSpace* Space::AsImageSpace() { in AsImageSpace() 33 return down_cast<ImageSpace*>(down_cast<MemMapSpace*>(this)); in AsImageSpace()
|
D | space.h | 50 class ImageSpace; variable 105 ImageSpace* AsImageSpace();
|
/art/dexoptanalyzer/ |
D | dexoptanalyzer.cc | 373 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/ |
D | oat_file_manager.h | 35 class ImageSpace; variable 77 const std::vector<gc::space::ImageSpace*>& spaces)
|
D | oat_file_assistant.h | 37 class ImageSpace; variable 195 static std::unique_ptr<gc::space::ImageSpace> OpenImageSpace(const OatFile* oat_file);
|
D | intern_table.h | 32 class ImageSpace; variable 198 void AddImageStringsToTable(gc::space::ImageSpace* image_space, 339 friend class gc::space::ImageSpace;
|
D | oat_file_manager.cc | 134 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()
|
D | intern_table-inl.h | 78 inline void InternTable::AddImageStringsToTable(gc::space::ImageSpace* image_space, in AddImageStringsToTable()
|
D | oat_file_assistant.cc | 657 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()
|
D | debug_print.cc | 43 gc::space::ImageSpace* ispace = cs->AsImageSpace(); in DescribeSpace()
|
D | dexopt_test.cc | 173 bool match = gc::space::ImageSpace::VerifyBootClassPathChecksums( in GenerateOatForTest()
|
D | runtime.cc | 1764 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/ |
D | dex2oat_image_test.cc | 293 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()
|
D | dex2oat.cc | 122 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/ |
D | imgdiag_test.cc | 50 std::vector<gc::space::ImageSpace*> image_spaces = in SetUp()
|
/art/runtime/gc/collector/ |
D | immune_spaces.cc | 51 space::ImageSpace* image_space = space->AsImageSpace(); in CreateLargestImmuneRegion()
|
D | immune_spaces_test.cc | 41 class FakeImageSpace : public space::ImageSpace { 47 : ImageSpace("FakeImageSpace", in FakeImageSpace()
|
/art/runtime/jit/ |
D | jit.cc | 643 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/ |
D | image_write_read_test.cc | 100 gc::space::ImageSpace* image_space = heap->GetBootImageSpaces()[i]; in TestWriteRead()
|
/art/oatdump/ |
D | oatdump.cc | 1553 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/ |
D | heap.h | 104 class ImageSpace; variable 687 const std::vector<space::ImageSpace*>& GetBootImageSpaces() const { in GetBootImageSpaces() 1657 std::vector<space::ImageSpace*> boot_image_spaces_;
|
D | heap.cc | 210 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()
|