Lines Matching refs:NewSpacePage
1978 class NewSpacePage : public MemoryChunk {
1989 inline NewSpacePage* next_page() const { in next_page()
1990 return static_cast<NewSpacePage*>(next_chunk()); in next_page()
1993 inline void set_next_page(NewSpacePage* page) { set_next_chunk(page); } in set_next_page()
1995 inline NewSpacePage* prev_page() const { in prev_page()
1996 return static_cast<NewSpacePage*>(prev_chunk()); in prev_page()
1999 inline void set_prev_page(NewSpacePage* page) { set_prev_chunk(page); } in set_prev_page()
2017 static inline NewSpacePage* FromAddress(Address address_in_page) { in FromAddress()
2021 NewSpacePage* page = reinterpret_cast<NewSpacePage*>(page_start); in FromAddress()
2027 static inline NewSpacePage* FromLimit(Address address_limit) { in FromLimit()
2028 return NewSpacePage::FromAddress(address_limit - 1); in FromLimit()
2033 return NewSpacePage::FromAddress(address1) == in OnSamePage()
2034 NewSpacePage::FromAddress(address2); in OnSamePage()
2040 explicit NewSpacePage(SemiSpace* owner) { InitializeAsAnchor(owner); } in NewSpacePage() function
2042 static NewSpacePage* Initialize(Heap* heap, Address start,
2109 NewSpacePage* next_page = current_page_->next_page(); in AdvancePage()
2146 NewSpacePage* first_page() { return anchor_.next_page(); } in first_page()
2147 NewSpacePage* current_page() { return current_page_; } in current_page()
2191 NewSpacePage* anchor() { return &anchor_; } in anchor()
2213 NewSpacePage anchor_;
2214 NewSpacePage* current_page_;
2247 if (NewSpacePage::IsAtEnd(current_)) { in Next()
2248 NewSpacePage* page = NewSpacePage::FromLimit(current_); in Next()
2293 inline NewSpacePage* next();
2296 NewSpacePage* prev_page_; // Previous page returned.
2299 NewSpacePage* next_page_;
2301 NewSpacePage* last_page_;
2357 return pages_used_ * NewSpacePage::kAreaSize + in Size()
2370 NewSpacePage::kAreaSize; in Capacity()