Home
last modified time | relevance | path

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

/art/runtime/gc/collector/
Dimmune_spaces_test.cc172 ImmuneSpaces spaces; in TEST_F() local
178 spaces.AddSpace(&a); in TEST_F()
179 spaces.AddSpace(&b); in TEST_F()
181 EXPECT_TRUE(spaces.ContainsSpace(&a)); in TEST_F()
182 EXPECT_TRUE(spaces.ContainsSpace(&b)); in TEST_F()
183 EXPECT_EQ(reinterpret_cast<uint8_t*>(spaces.GetLargestImmuneRegion().Begin()), a.Begin()); in TEST_F()
184 EXPECT_EQ(reinterpret_cast<uint8_t*>(spaces.GetLargestImmuneRegion().End()), b.Limit()); in TEST_F()
190 ImmuneSpaces spaces; in TEST_F() local
224 spaces.AddSpace(image_space.get()); in TEST_F()
226 EXPECT_EQ(reinterpret_cast<uint8_t*>(spaces.GetLargestImmuneRegion().Begin()), in TEST_F()
[all …]
/art/oatdump/
Doatdump_test.h285 size_t spaces = 0; variable
286 for (; spaces < len && isspace(line[spaces]); ++spaces) {}
287 if (spaces > 0) {
288 memmove(&line[0], &line[spaces], len - spaces);
290 return spaces;
/art/runtime/gc/space/
Dimage_space.cc2592 std::vector<std::unique_ptr<ImageSpace>> spaces; in LoadImage() local
2593 spaces.reserve(image_component_count); in LoadImage()
2605 &spaces, in LoadImage()
2646 spaces.size() == chunk.start_index + chunk.component_count) { in LoadImage()
2659 MaybeRelocateSpaces(spaces, logger); in LoadImage()
2660 DeduplicateInternedStrings(ArrayRef<const std::unique_ptr<ImageSpace>>(spaces), logger); in LoadImage()
2661 boot_image_spaces->swap(spaces); in LoadImage()
2755 static void DoRelocateSpaces(ArrayRef<const std::unique_ptr<ImageSpace>>& spaces, in DoRelocateSpaces() argument
2757 DCHECK(!spaces.empty()); in DoRelocateSpaces()
2761 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.cc1231 std::vector<gc::space::ImageSpace*> spaces = heap->GetBootImageSpaces(); in InitFromBootImage() local
1232 CHECK(!spaces.empty()); in InitFromBootImage()
1233 const ImageHeader& image_header = spaces[0]->GetImageHeader(); in InitFromBootImage()
1276 runtime->GetOatFileManager().RegisterImageOatFiles(spaces); in InitFromBootImage()
1334 spaces[i]->GetLiveBitmap()->Walk(visitor); in InitFromBootImage()
1357 for (size_t i = 0u, size = spaces.size(); i != size; ++i) { in InitFromBootImage()
1360 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.cc1306 const std::vector<gc::space::ImageSpace*>& spaces = runtime->GetHeap()->GetBootImageSpaces(); in TEST_F() local
1307 ASSERT_GT(spaces.size(), 0u); in TEST_F()
1308 const std::string image_location = spaces[0]->GetImageLocation(); in TEST_F()