Searched refs:current_top (Results 1 – 2 of 2) sorted by relevance
383 Address current_top = allocation_info_.top(); in AllocateLinearly() local384 Address new_top = current_top + size_in_bytes; in AllocateLinearly()388 return HeapObject::FromAddress(current_top); in AllocateLinearly()394 Address current_top = allocation_info_.top(); in AllocateRawAligned() local395 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateRawAligned()397 Address new_top = current_top + filler_size + size_in_bytes; in AllocateRawAligned()402 return heap_->PrecedeWithFiller(HeapObject::FromAddress(current_top), in AllocateRawAligned()406 return AllocationResult(HeapObject::FromAddress(current_top)); in AllocateRawAligned()412 Address current_top = allocation_info_.top(); in AllocateLinearlyAligned() local413 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateLinearlyAligned()[all …]
1373 Address current_top = top(); in AllocateChunk() local1375 if (current_top != nullptr && current_top != current_limit) { in AllocateChunk()1376 Page* page = Page::FromAllocationAreaAddress(current_top); in AllocateChunk()1377 page->markbits()->SetRange(page->AddressToMarkbitIndex(current_top), in AllocateChunk()1379 page->IncrementLiveBytes(static_cast<int>(current_limit - current_top)); in AllocateChunk()1387 Address current_top = top(); in AllocateChunk() local1389 if (current_top == nullptr) { in AllocateChunk()1395 Page* page = Page::FromAllocationAreaAddress(current_top); in AllocateChunk()1398 if (current_top != current_limit) { in AllocateChunk()1399 page->markbits()->ClearRange(page->AddressToMarkbitIndex(current_top), in AllocateChunk()[all …]