Home
last modified time | relevance | path

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

/external/v8/src/heap/
Dspaces-inl.h383 Address current_top = allocation_info_.top(); in AllocateLinearly() local
384 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() local
395 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() local
413 int filler_size = Heap::GetFillToAlign(current_top, alignment); in AllocateLinearlyAligned()
[all …]
Dspaces.cc1373 Address current_top = top(); in AllocateChunk() local
1375 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() local
1389 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 …]