Lines Matching refs:Page
38 Page* p = Page::FromAddress(page_start);
40 p->SetRegionMarks(Page::kAllRegionsCleanMarks);
45 CHECK(!Page::FromAddress(addr)->IsRegionDirty(addr));
51 Page::FromAddress(addr)->MarkRegionDirty(addr);
57 CHECK(Page::FromAddress(addr)->IsRegionDirty(addr));
66 TEST(Page) {
67 byte* mem = NewArray<byte>(2*Page::kPageSize);
71 Address page_start = RoundUp(start, Page::kPageSize);
73 Page* p = Page::FromAddress(page_start);
83 CHECK(p->ObjectAreaStart() == page_start + Page::kObjectStartOffset);
84 CHECK(p->ObjectAreaEnd() == page_start + Page::kPageSize);
86 CHECK(p->Offset(page_start + Page::kObjectStartOffset) ==
87 Page::kObjectStartOffset);
88 CHECK(p->Offset(page_start + Page::kPageSize) == Page::kPageSize);
90 CHECK(p->OffsetToAddress(Page::kObjectStartOffset) == p->ObjectAreaStart());
91 CHECK(p->OffsetToAddress(Page::kPageSize) == p->ObjectAreaEnd());
143 Page* first_page = in TEST()
151 for (Page* p = first_page; p != faked_space.anchor(); p = p->next_page()) { in TEST()
156 Page* other = in TEST()
162 for (Page* p = first_page; p != faked_space.anchor(); p = p->next_page()) { in TEST()
168 Page* second_page = first_page->next_page(); in TEST()
194 while (new_space.Available() >= Page::kMaxNonCodeHeapObjectSize) { in TEST()
196 new_space.AllocateRaw(Page::kMaxNonCodeHeapObjectSize)-> in TEST()
227 s->AllocateRaw(Page::kMaxNonCodeHeapObjectSize)->ToObjectUnchecked(); in TEST()
243 int lo_size = Page::kPageSize; in TEST()