Lines Matching refs:top
37 // For contiguous spaces, top should be in the space (or at the end) and limit
40 ASSERT((space).low() <= (info).top \
41 && (info).top <= (space).high() \
49 Initialize(space->bottom(), space->top(), NULL);
55 Initialize(space->bottom(), space->top(), size_func);
60 Initialize(start, space->top(), NULL);
66 Initialize(start, space->top(), size_func);
636 allocation_info_.top = NULL;
639 mc_forwarding_info_.top = NULL;
760 alloc_info->top = p->ObjectAreaStart();
816 // We do not add the top of page block for current page to the space's
818 // bookkeeping information to it. Instead, we will recover top of page
823 // need quick access to the allocation top of each page to decode
825 current_page->mc_relocation_top = mc_forwarding_info_.top;
907 // Start from the allocation top and loop to the last page in the space.
939 Page* top_page = Page::FromAllocationTop(allocation_info_.top);
947 // We don't care what's above the allocation top.
950 // objects, the allocation top should be at a constant offset from the
952 Address top = current_page->AllocationTop();
954 ASSERT(top == allocation_info_.top);
955 // The next page will be above the allocation top.
958 ASSERT(top == current_page->ObjectAreaEnd() - page_extra_);
961 // It should be packed with objects from the bottom to the top.
963 while (current < top) {
988 ASSERT(current == top);
1042 allocation_info_.top = to_space_.low();
1044 mc_forwarding_info_.top = NULL;
1065 allocation_info_.top = NULL;
1067 mc_forwarding_info_.top = NULL;
1142 allocation_info_.top = to_space_.low();
1149 mc_forwarding_info_.top = from_space_.low();
1158 allocation_info_.top = mc_forwarding_info_.top;
1174 while (current < top()) {
1199 ASSERT(current == top());
1307 Initialize(space, space->bottom(), space->top(), NULL);
1313 Initialize(space, space->bottom(), space->top(), size_func);
1318 Initialize(space, start, space->top(), NULL);
1806 allocation_info_.top = mc_forwarding_info_.top;
1824 // Free the space at the top of the page. We cannot use
1849 Address top = allocation_info_.top;
1850 return limit - top >= bytes;
1856 Address top = allocation_info_.top;
1857 if (limit - top >= bytes) return true;
1933 static_cast<int>(current_page->ObjectAreaEnd() - allocation_info_.top);
1935 int wasted_bytes = free_list_.Free(allocation_info_.top, free_size);
1943 static_cast<int>(current_page->ObjectAreaEnd() - allocation_info_.top);
1947 free_list_.Free(allocation_info_.top);
1948 allocation_info_.top += object_size_in_bytes_;
1955 // Add the block at the top of the page to the space's free list, set the
2275 // allocation pointer except wasted top-of-page blocks is considered
2288 allocation_info_.top = mc_forwarding_info_.top;
2357 // The top of page block is always wasted, because it is too small to hold a
2362 ASSERT(current_page->ObjectAreaEnd() - allocation_info_.top == page_extra_);