Searched refs:current_top (Results 1 – 2 of 2) sorted by relevance
378 Address current_top = allocation_info_.top(); in AllocateLinearly() local379 Address new_top = current_top + size_in_bytes; in AllocateLinearly()383 return HeapObject::FromAddress(current_top); in AllocateLinearly()389 Address current_top = allocation_info_.top(); in AllocateRawAligned() local390 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateRawAligned()392 Address new_top = current_top + filler_size + size_in_bytes; in AllocateRawAligned()397 return heap_->PrecedeWithFiller(HeapObject::FromAddress(current_top), in AllocateRawAligned()401 return AllocationResult(HeapObject::FromAddress(current_top)); in AllocateRawAligned()407 Address current_top = allocation_info_.top(); in AllocateLinearlyAligned() local408 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateLinearlyAligned()[all …]
1383 Address current_top = top(); in AllocateChunk() local1385 if (current_top != nullptr && current_top != current_limit) { in AllocateChunk()1386 Page::FromAllocationAreaAddress(current_top) in AllocateChunk()1387 ->CreateBlackArea(current_top, current_limit); in AllocateChunk()1395 Address current_top = top(); in AllocateChunk() local1397 if (current_top == nullptr) { in AllocateChunk()1403 Page* page = Page::FromAllocationAreaAddress(current_top); in AllocateChunk()1406 if (current_top != current_limit) { in AllocateChunk()1407 page->markbits()->ClearRange(page->AddressToMarkbitIndex(current_top), in AllocateChunk()1409 page->IncrementLiveBytes(-static_cast<int>(current_limit - current_top)); in AllocateChunk()[all …]