Lines Matching defs:page
111 // The bottom position is at the start of its page. Allows us to use
112 // page->area_start() as start of range on all pages.
116 NewSpacePage* page = it.next();
117 Address limit = it.has_next() ? page->area_end() : end;
118 ASSERT(limit == end || !page->Contains(end));
119 VerifyMarking(page->area_start(), limit);
128 Page* p = it.next();
191 NewSpacePage* page = it.next();
192 Address current = page->area_start();
193 Address limit = it.has_next() ? page->area_end() : space->top();
194 ASSERT(limit == space->top() || !page->Contains(space->top()));
208 Page* p = it.next();
229 void MarkCompactCollector::AddEvacuationCandidate(Page* p) {
312 Page* p = it.next();
441 static int FreeListFragmentation(PagedSpace* space, Page* p) {
442 // If page was not swept then there are no free list items on it.
517 Candidate(int f, Page* p) : fragmentation_(f), page_(p) { }
520 Page* page() { return page_; }
524 Page* page_;
562 if (it.has_next()) it.next(); // Never compact the first page.
565 Page* p = it.next();
630 AddEvacuationCandidate(candidates[i].page());
645 Page* p = evacuation_candidates_[i];
926 // page dirty marks. Therefore, we only replace the string with its left
927 // substring when page dirty marks do not change.
1976 static void DiscoverGreyObjectsOnPage(MarkingDeque* marking_deque, Page* p) {
2041 Page* p = it.next();
2293 // The to space contains live objects, a page in from space is used as a
2672 if (Page::FromAddress(code_entry)->IsEvacuationCandidate()) {
2799 if (object_size > Page::kMaxNonCodeHeapObjectSize) {
2866 // entire page at the end.
2907 void MarkCompactCollector::EvacuateLiveObjectsFromPage(Page* p) {
2969 Page* p = evacuation_candidates_[i];
2971 p->IsFlagSet(Page::RESCAN_ON_EVACUATION));
2973 // During compaction we might have to request a new page.
2981 Page* page = evacuation_candidates_[j];
2982 slots_buffer_allocator_.DeallocateChain(page->slots_buffer_address());
2983 page->ClearEvacuationCandidate();
2984 page->SetFlag(Page::RESCAN_ON_EVACUATION);
3068 Page* p,
3144 Page* p = Page::FromAddress(code->address());
3147 p->IsFlagSet(Page::RESCAN_ON_EVACUATION)) {
3191 // we can safely go to the page from the slot address.
3192 Page* p = Page::FromAddress(addr);
3202 p->markbits()->MarkBitFromIndex(Page::FastAddressToMarkbitIndex(addr));
3323 Page* p = Page::FromAddress(obj->address());
3324 if (p->IsFlagSet(Page::RESCAN_ON_EVACUATION)) {
3326 Page::RESCAN_ON_EVACUATION);
3336 Page* p = evacuation_candidates_[i];
3338 p->IsFlagSet(Page::RESCAN_ON_EVACUATION));
3345 PrintF(" page %p slots buffer: %d\n",
3429 Page* p = evacuation_candidates_[i];
3726 intptr_t MarkCompactCollector::SweepConservatively(PagedSpace* space, Page* p) {
3746 // Skip over all the dead objects at the start of the page and mark them free.
3759 // Grow the size of the start-of-page free space a little to get up to the
3806 // Handle the free space at the end of the page.
3838 Page* p = it.next();
3849 if (p->IsFlagSet(Page::RESCAN_ON_EVACUATION)) {
3854 // One unused page is kept, all further are released before sweeping them.
3858 PrintF("Sweeping 0x%" V8PRIxPTR " released page.\n",
3861 // Adjust unswept free bytes because releasing a page expects said
4046 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target));
4062 Page* target_page = Page::FromAddress(reinterpret_cast<Address>(target));