Home
last modified time | relevance | path

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

/art/runtime/gc/collector/
Dimmune_spaces_test.cc169 ImmuneSpaces spaces; in TEST_F() local
175 spaces.AddSpace(&a); in TEST_F()
176 spaces.AddSpace(&b); in TEST_F()
178 EXPECT_TRUE(spaces.ContainsSpace(&a)); in TEST_F()
179 EXPECT_TRUE(spaces.ContainsSpace(&b)); in TEST_F()
180 EXPECT_EQ(reinterpret_cast<uint8_t*>(spaces.GetLargestImmuneRegion().Begin()), a.Begin()); in TEST_F()
181 EXPECT_EQ(reinterpret_cast<uint8_t*>(spaces.GetLargestImmuneRegion().End()), b.Limit()); in TEST_F()
187 ImmuneSpaces spaces; in TEST_F() local
221 spaces.AddSpace(image_space.get()); in TEST_F()
223 EXPECT_EQ(reinterpret_cast<uint8_t*>(spaces.GetLargestImmuneRegion().Begin()), in TEST_F()
[all …]
/art/oatdump/
Doatdump_test.h274 size_t spaces = 0; in Exec() local
275 for (; spaces < len && isspace(line[spaces]); ++spaces) {} in Exec()
276 if (spaces > 0) { in Exec()
277 memmove(&line[0], &line[spaces], len - spaces); in Exec()
279 return spaces; in Exec()
/art/runtime/gc/space/
Dimage_space.cc1509 std::vector<std::unique_ptr<ImageSpace>> spaces; in LoadFromFile() local
1510 spaces.reserve(locations.size()); in LoadFromFile()
1512 spaces.push_back(Load(locations[i], filenames[i], logger, &image_reservation, error_msg)); in LoadFromFile()
1513 const ImageSpace* space = spaces.back().get(); in LoadFromFile()
1524 for (size_t i = 0u, size = spaces.size(); i != size; ++i) { in LoadFromFile()
1527 if (!OpenOatFile(spaces[i].get(), in LoadFromFile()
1541 MaybeRelocateSpaces(spaces, logger); in LoadFromFile()
1542 boot_image_spaces->swap(spaces); in LoadFromFile()
1567 static void DoRelocateSpaces(const std::vector<std::unique_ptr<ImageSpace>>& spaces, in DoRelocateSpaces() argument
1572 spaces.front()->Begin(), in DoRelocateSpaces()
[all …]
/art/runtime/
Doat_file_manager.h79 const std::vector<gc::space::ImageSpace*>& spaces)
Doat_file_manager.cc163 const std::vector<gc::space::ImageSpace*>& spaces) { in RegisterImageOatFiles() argument
165 oat_files.reserve(spaces.size()); in RegisterImageOatFiles()
166 for (gc::space::ImageSpace* space : spaces) { in RegisterImageOatFiles()
Dclass_linker.cc951 std::vector<gc::space::ImageSpace*> spaces = heap->GetBootImageSpaces(); in InitFromBootImage() local
952 CHECK(!spaces.empty()); in InitFromBootImage()
953 uint32_t pointer_size_unchecked = spaces[0]->GetImageHeader().GetPointerSizeUnchecked(); in InitFromBootImage()
958 const ImageHeader& image_header = spaces[0]->GetImageHeader(); in InitFromBootImage()
996 runtime->GetOatFileManager().RegisterImageOatFiles(spaces); in InitFromBootImage()
1046 spaces[i]->GetLiveBitmap()->Walk(visitor); in InitFromBootImage()
1059 spaces[0]->GetImageHeader().GetImageRoot(ImageHeader::kClassRoots))); in InitFromBootImage()
1070 CHECK_LE(spaces.size(), boot_class_path_locations.size()); in InitFromBootImage()
1071 for (size_t i = 0u, size = spaces.size(); i != size; ++i) { in InitFromBootImage()
1074 if (!AddImageSpace(spaces[i], in InitFromBootImage()
/art/tools/dmtracedump/
Dtracedump.cc1042 char spaces[MAX_STACK_DEPTH + 1]; in dumpTrace() local
1043 memset(spaces, '.', MAX_STACK_DEPTH); in dumpTrace()
1044 spaces[MAX_STACK_DEPTH] = '\0'; in dumpTrace()
1113 spaces + (MAX_STACK_DEPTH - printDepth), method->className, in dumpTrace()
1118 spaces + (MAX_STACK_DEPTH - printDepth), method->className); in dumpTrace()
1252 const char* spaces = " "; /* 6 spaces */ in printInclusiveMethod() local
1253 int32_t num_spaces = strlen(spaces); in printInclusiveMethod()
1254 const char* space_ptr = &spaces[num_spaces]; in printInclusiveMethod()
1274 space_ptr = &spaces[len]; in printInclusiveMethod()
/art/dex2oat/
Ddex2oat_test.cc1281 const std::vector<gc::space::ImageSpace*>& spaces = runtime->GetHeap()->GetBootImageSpaces(); in TEST_F() local
1282 ASSERT_GT(spaces.size(), 0u); in TEST_F()
1283 const std::string image_location = spaces[0]->GetImageLocation(); in TEST_F()