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.cc2297 std::vector<std::unique_ptr<ImageSpace>> spaces; in LoadImage() local
2298 spaces.reserve(image_component_count); in LoadImage()
2310 &spaces, in LoadImage()
2351 spaces.size() == chunk.start_index + chunk.component_count) { in LoadImage()
2364 MaybeRelocateSpaces(spaces, logger); in LoadImage()
2365 DeduplicateInternedStrings(ArrayRef<const std::unique_ptr<ImageSpace>>(spaces), logger); in LoadImage()
2366 boot_image_spaces->swap(spaces); in LoadImage()
2460 static void DoRelocateSpaces(ArrayRef<const std::unique_ptr<ImageSpace>>& spaces, in DoRelocateSpaces() argument
2462 DCHECK(!spaces.empty()); in DoRelocateSpaces()
2466 spaces.front()->Begin(), in DoRelocateSpaces()
[all …]
/art/runtime/
Doat_file_manager.h77 const std::vector<gc::space::ImageSpace*>& spaces)
Doat_file_manager.cc154 const std::vector<gc::space::ImageSpace*>& spaces) { in RegisterImageOatFiles() argument
156 oat_files.reserve(spaces.size()); in RegisterImageOatFiles()
157 for (gc::space::ImageSpace* space : spaces) { in RegisterImageOatFiles()
Dclass_linker.cc1169 std::vector<gc::space::ImageSpace*> spaces = heap->GetBootImageSpaces(); in InitFromBootImage() local
1170 CHECK(!spaces.empty()); in InitFromBootImage()
1171 const ImageHeader& image_header = spaces[0]->GetImageHeader(); in InitFromBootImage()
1214 runtime->GetOatFileManager().RegisterImageOatFiles(spaces); in InitFromBootImage()
1277 spaces[i]->GetLiveBitmap()->Walk(visitor); in InitFromBootImage()
1300 for (size_t i = 0u, size = spaces.size(); i != size; ++i) { in InitFromBootImage()
1303 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.cc1098 const std::vector<gc::space::ImageSpace*>& spaces = runtime->GetHeap()->GetBootImageSpaces(); in TEST_F() local
1099 ASSERT_GT(spaces.size(), 0u); in TEST_F()
1100 const std::string image_location = spaces[0]->GetImageLocation(); in TEST_F()