Home
last modified time | relevance | path

Searched refs:boot_image_spaces (Results 1 – 8 of 8) sorted by relevance

/art/dex2oat/
Ddex2oat_image_test.cc416 std::vector<std::unique_ptr<gc::space::ImageSpace>> boot_image_spaces; in TEST_F() local
420 boot_image_spaces.clear(); in TEST_F()
432 &boot_image_spaces, in TEST_F()
447 ASSERT_EQ(head_dex_files.size(), boot_image_spaces.size()); in TEST_F()
462 ASSERT_EQ(mid_bcp.size(), boot_image_spaces.size()); in TEST_F()
467 ASSERT_EQ(head_dex_files.size(), boot_image_spaces.size()); // But only the primary image. in TEST_F()
472 ASSERT_EQ(full_bcp.size(), boot_image_spaces.size()); in TEST_F()
477 ASSERT_EQ(mid_bcp.size(), boot_image_spaces.size()); in TEST_F()
483 ASSERT_EQ(head_dex_files.size(), boot_image_spaces.size()); // But only the primary image. in TEST_F()
488 ASSERT_EQ(full_bcp.size(), boot_image_spaces.size()); in TEST_F()
[all …]
/art/runtime/gc/space/
Dimage_space_test.cc134 std::vector<std::unique_ptr<gc::space::ImageSpace>> boot_image_spaces; in TEST_F() local
137 boot_image_spaces.clear(); in TEST_F()
148 &boot_image_spaces, in TEST_F()
177 ASSERT_EQ(bcp.size(), boot_image_spaces.size()); in TEST_F()
178 EXPECT_TRUE(contains_test_string(boot_image_spaces[boot_image_spaces.size() - 2u].get())); in TEST_F()
180 EXPECT_FALSE(contains_test_string(boot_image_spaces[boot_image_spaces.size() - 1u].get())); in TEST_F()
190 ASSERT_EQ(bcp.size(), boot_image_spaces.size()); in TEST_F()
191 EXPECT_TRUE(contains_test_string(boot_image_spaces[boot_image_spaces.size() - 2u].get())); in TEST_F()
193 EXPECT_FALSE(contains_test_string(boot_image_spaces[boot_image_spaces.size() - 1u].get())); in TEST_F()
202 ASSERT_EQ(bcp.size(), boot_image_spaces.size()); in TEST_F()
[all …]
Dimage_space.h136 /*out*/std::vector<std::unique_ptr<ImageSpace>>* boot_image_spaces,
149 ArrayRef<ImageSpace* const> boot_image_spaces,
Dimage_space.cc732 ArrayRef<ImageSpace* const> boot_image_spaces, in InitAppImage() argument
760 boot_image_spaces, in InitAppImage()
777 reinterpret_cast32<uint32_t>(boot_image_spaces.front()->Begin()); in InitAppImage()
797 DCHECK_LE(boot_image_space_dependencies, boot_image_spaces.size()); in InitAppImage()
798 if (boot_image_space_dependencies != boot_image_spaces.size()) { in InitAppImage()
802 boot_image_spaces.SubArray(/*pos=*/ boot_image_space_dependencies); in InitAppImage()
810 const ImageHeader& primary_header = boot_image_spaces.front()->GetImageHeader(); in InitAppImage()
1079 ArrayRef<ImageSpace* const> boot_image_spaces, in ValidateBootImageChecksum() argument
1085 size_t boot_image_spaces_size = boot_image_spaces.size(); in ValidateBootImageChecksum()
1098 const ImageHeader& current_header = boot_image_spaces[space_pos]->GetImageHeader(); in ValidateBootImageChecksum()
[all …]
/art/compiler/optimizing/
Dintrinsics.cc64 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = heap->GetBootImageSpaces(); in GetBootImageLiveObjects() local
65 DCHECK(!boot_image_spaces.empty()); in GetBootImageLiveObjects()
66 const ImageHeader& main_header = boot_image_spaces[0]->GetImageHeader(); in GetBootImageLiveObjects()
Dcode_generator.cc892 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = in GetBootImageOffsetImpl() local
895 DCHECK(std::any_of(boot_image_spaces.begin(), in GetBootImageOffsetImpl()
896 boot_image_spaces.end(), in GetBootImageOffsetImpl()
902 uintptr_t begin = reinterpret_cast<uintptr_t>(boot_image_spaces.front()->Begin()); in GetBootImageOffsetImpl()
/art/oatdump/
Doatdump.cc1657 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = heap->GetBootImageSpaces(); in GetBootImageLiveObjectsDataRange() local
1658 const ImageHeader& main_header = boot_image_spaces[0]->GetImageHeader(); in GetBootImageLiveObjectsDataRange()
1683 const std::vector<gc::space::ImageSpace*>& boot_image_spaces = in DumpDataBimgRelRoEntries() local
1693 uint8_t* address = boot_image_spaces[0]->Begin() + object_offset; in DumpDataBimgRelRoEntries()
1695 for (gc::space::ImageSpace* space : boot_image_spaces) { in DumpDataBimgRelRoEntries()
/art/runtime/gc/
Dheap.cc416 std::vector<std::unique_ptr<space::ImageSpace>> boot_image_spaces; in Heap() local
427 &boot_image_spaces, in Heap()
430 DCHECK(!boot_image_spaces.empty()); in Heap()
431 request_begin = boot_image_spaces.back()->GetImageHeader().GetOatFileEnd(); in Heap()
435 for (std::unique_ptr<space::ImageSpace>& space : boot_image_spaces) { in Heap()