Home
last modified time | relevance | path

Searched refs:current_top (Results 1 – 2 of 2) sorted by relevance

/external/v8/src/heap/
Dspaces-inl.h378 Address current_top = allocation_info_.top(); in AllocateLinearly() local
379 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() local
390 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() local
408 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateLinearlyAligned()
[all …]
Dspaces.cc1383 Address current_top = top(); in AllocateChunk() local
1385 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() local
1397 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 …]