Home | History | Annotate | Download | only in src

Lines Matching defs:page

65 Page* PageIterator::next() {
146 void MemoryAllocator::ProtectChunkFromPage(Page* page) {
147 int id = GetChunkId(page);
152 void MemoryAllocator::UnprotectChunkFromPage(Page* page) {
153 int id = GetChunkId(page);
163 Page* Page::Initialize(Heap* heap,
167 Page* page = reinterpret_cast<Page*>(chunk);
168 ASSERT(page->area_size() <= kNonCodeObjectAreaSize);
170 owner->IncreaseCapacity(page->area_size());
171 owner->Free(page->area_start(), page->area_size());
175 return page;
180 Page* p = Page::FromAddress(addr);
200 OffsetFrom(addr) & ~Page::kPageAlignmentMask);
222 // to another chunk. See the comment to Page::FromAllocationTop.
238 Page* Page::next_page() {
240 return static_cast<Page*>(next_chunk());
244 Page* Page::prev_page() {
246 return static_cast<Page*>(prev_chunk());
250 void Page::set_next_page(Page* page) {
251 ASSERT(page->owner() == owner());
252 set_next_chunk(page);
256 void Page::set_prev_page(Page* page) {
257 ASSERT(page->owner() == owner());
258 set_prev_chunk(page);
262 // Try linear allocation in the page of alloc_info's allocation top. Does
263 // not contain slow case logic (e.g. move to the next page or try free list