Lines Matching refs:top
175 DCHECK_EQ(kNullAddress, other->top());
213 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top());
307 void PagedSpace::SetTopAndLimit(Address top, Address limit) {
308 DCHECK(top == limit ||
309 Page::FromAddress(top) == Page::FromAddress(limit - 1));
310 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top());
311 allocation_info_->Reset(top, limit);
317 original_top_ = top;
336 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top());
383 void PagedSpace::SetLinearAllocationArea(Address top, Address limit) {
384 SetTopAndLimit(top, limit);
385 if (top != kNullAddress && top != limit &&
387 Page::FromAllocationAreaAddress(top)->CreateBlackArea(top, limit);
393 DCHECK_LE(top(), new_limit);
404 SetTopAndLimit(top(), new_limit);
416 Address current_top = top();
425 Address current_top = top();
434 Address current_top = top();
467 Address current_top = top();
508 if (Page::FromAllocationAreaAddress(allocation_info_->top()) == page) {
556 DCHECK_LE(top(), limit());
558 if (top() != limit()) {
559 DCHECK_EQ(Page::FromAddress(top()), Page::FromAddress(limit() - 1));
563 DCHECK_LT(static_cast<size_t>(limit() - top()), size_in_bytes);
586 DCHECK_EQ(allocation_info_->start(), allocation_info_->top());
735 (allocation_info_->top() == allocation_info_->limit());
751 if (page == Page::FromAllocationAreaAddress(allocation_info_->top())) {
757 Address top = page->area_end();
782 CHECK(object.address() + size <= top);
889 DCHECK_EQ(allocation_info_->start(), allocation_info_->top());
891 Address new_limit = ComputeLimit(top(), limit(), min_size);
892 DCHECK_LE(top(), new_limit);
1052 if (allocation_info_->top() + size_in_bytes <= allocation_info_->limit()) {