Lines Matching full:current_page
807 Page* current_page = TopPageOf(mc_forwarding_info_);
808 if (!current_page->next_page()->is_valid()) {
809 if (!Expand(current_page)) {
815 ASSERT(current_page->next_page()->is_valid());
825 current_page->mc_relocation_top = mc_forwarding_info_.top;
826 SetAllocationInfo(&mc_forwarding_info_, current_page->next_page());
944 Page* current_page = first_page_;
945 while (current_page->is_valid()) {
952 Address top = current_page->AllocationTop();
953 if (current_page == top_page) {
958 ASSERT(top == current_page->ObjectAreaEnd() - page_extra_);
962 Address current = current_page->ObjectAreaStart();
991 current_page = current_page->next_page();
1896 Page* current_page = TopPageOf(allocation_info_);
1897 if (current_page->next_page()->is_valid()) {
1898 return AllocateInNextPage(current_page, size_in_bytes);
1921 ASSERT(!current_page->next_page()->is_valid());
1922 if (Expand(current_page)) {
1923 return AllocateInNextPage(current_page, size_in_bytes);
1931 void OldSpace::PutRestOfCurrentPageOnFreeList(Page* current_page) {
1933 static_cast<int>(current_page->ObjectAreaEnd() - allocation_info_.top);
1941 void FixedSpace::PutRestOfCurrentPageOnFreeList(Page* current_page) {
1943 static_cast<int>(current_page->ObjectAreaEnd() - allocation_info_.top);
1958 HeapObject* OldSpace::AllocateInNextPage(Page* current_page,
1960 ASSERT(current_page->next_page()->is_valid());
1961 PutRestOfCurrentPageOnFreeList(current_page);
1962 SetAllocationInfo(&allocation_info_, current_page->next_page());
2322 Page* current_page = TopPageOf(allocation_info_);
2323 if (current_page->next_page()->is_valid()) {
2324 return AllocateInNextPage(current_page, size_in_bytes);
2346 ASSERT(!current_page->next_page()->is_valid());
2347 if (Expand(current_page)) {
2348 return AllocateInNextPage(current_page, size_in_bytes);
2359 HeapObject* FixedSpace::AllocateInNextPage(Page* current_page,
2361 ASSERT(current_page->next_page()->is_valid());
2362 ASSERT(current_page->ObjectAreaEnd() - allocation_info_.top == page_extra_);
2365 SetAllocationInfo(&allocation_info_, current_page->next_page());