Home | History | Annotate | Download | only in src

Lines Matching refs:top

52 // have the allocation top address of this page. The next 248 bytes are
117 // Page* p = Page::FromAllocationTop(top);
131 // Returns the page containing an allocation top. Because an allocation
132 // top address can be the upper bound of the page, we need to subtract
135 INLINE(static Page* FromAllocationTop(Address top)) {
136 Page* p = FromAddress(top - kPointerSize);
137 ASSERT_PAGE_OFFSET(p->Offset(top));
619 // top of a space. The given address must be below the current
620 // allocation pointer (space top). There are some caveats.
622 // (1) If the space top changes upward during iteration (because of
624 // above the original space top. The caller must create a new
625 // iterator starting from the old top in order to visit these new
628 // (2) If new objects are allocated below the original allocation top
633 // (3) The space top should not change downward during iteration,
742 Address top; // current allocation top
747 return (Page::FromAllocationTop(top) == Page::FromAllocationTop(limit))
748 && (top <= limit);
760 // to internal fragmentation, top of page areas in map space), and the bytes
902 Address top() { return allocation_info_.top; }
923 // Writes relocation info to the top page.
925 TopPageOf(mc_forwarding_info_)->mc_relocation_top = mc_forwarding_info_.top;
932 // Updates the allocation pointer to the relocation top after a mark-compact
994 // Returns the top page specified by an allocation info structure.
1000 Page* p = Page::FromAllocationTop(allocation_info_.top);
1017 // the top page of 'alloc_info'. Returns NULL on failure.
1212 // semispace) to the top of the semispace. New objects allocated after the
1295 virtual int Size() { return static_cast<int>(top() - bottom()); }
1325 Address top() { return allocation_info_.top; }
1339 // The allocation top and limit addresses.
1340 Address* allocation_top_address() { return &allocation_info_.top; }
1655 // The top of allocation in a page in this space. Undefined if page is unused.
1657 return page == TopPageOf(allocation_info_) ? top() : page->ObjectAreaEnd();
1672 // Updates the allocation pointer to the relocation top after a mark-compact
1718 // The top of allocation in a page in this space. Undefined if page is unused.
1720 return page == TopPageOf(allocation_info_) ? top()
1735 // Updates the allocation pointer to the relocation top after a mark-compact
1823 Address top = top_page->ObjectAreaStart() + offset;
1824 ASSERT(top < top_page->ObjectAreaEnd());
1825 ASSERT(Contains(top));
1827 return top;
1835 allocation_info_.top = new_top;