Home
last modified time | relevance | path

Searched refs:allocation_info_ (Results 1 – 8 of 8) sorted by relevance

/third_party/node/deps/v8/src/heap/
Dspaces.cc248 DCHECK_EQ(allocation_info_->start(), allocation_info_->top()); in ComputeLimit()
301 const LinearAllocationArea old_info = allocation_info_; in CloseAndMakeIterable()
302 allocation_info_ = LinearAllocationArea(kNullAddress, kNullAddress); in CloseAndMakeIterable()
311 allocation_info_.top(), in MakeIterable()
312 static_cast<int>(allocation_info_.limit() - allocation_info_.top()), in MakeIterable()
320 allocation_info_(allocation_info) {} in LocalAllocationBuffer()
330 allocation_info_ = other.allocation_info_; in operator =()
332 other.allocation_info_.Reset(kNullAddress, kNullAddress); in operator =()
369 if (allocation_info_->top() && in AdvanceAllocationObservers()
370 allocation_info_->start() != allocation_info_->top()) { in AdvanceAllocationObservers()
[all …]
Dspaces-inl.h140 Address current_top = allocation_info_.top(); in AllocateRawAligned()
143 if (!allocation_info_.CanIncrementTop(aligned_size)) { in AllocateRawAligned()
147 HeapObject::FromAddress(allocation_info_.IncrementTop(aligned_size)); in AllocateRawAligned()
166 return allocation_info_.MergeIfAdjacent(other->allocation_info_); in TryMerge()
172 return allocation_info_.DecrementTopIfAdjacent(object_address, object_size); in TryFreeLast()
197 if (!allocation_info_->CanIncrementTop(size_in_bytes)) { in AllocateFastUnaligned()
201 HeapObject::FromAddress(allocation_info_->IncrementTop(size_in_bytes)); in AllocateFastUnaligned()
215 Address top = allocation_info_->top(); in AllocateFastAligned()
219 if (!allocation_info_->CanIncrementTop(aligned_size_in_bytes)) { in AllocateFastAligned()
223 allocation_info_->IncrementTop(aligned_size_in_bytes)); in AllocateFastAligned()
[all …]
Dnew-spaces.cc450 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top()); in CommittedPhysicalMemory()
482 allocation_info_->Reset(kNullAddress, kNullAddress); in ~NewSpace()
509 DCHECK_SEMISPACE_ALLOCATION_INFO(allocation_info_, to_space_); in Grow()
521 DCHECK_SEMISPACE_ALLOCATION_INFO(allocation_info_, to_space_); in Shrink()
534 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top()); in UpdateLinearAllocationArea()
535 allocation_info_->Reset(new_top, to_space_.page_high()); in UpdateLinearAllocationArea()
545 DCHECK_SEMISPACE_ALLOCATION_INFO(allocation_info_, to_space_); in UpdateLinearAllocationArea()
567 allocation_info_->SetLimit(new_limit); in UpdateInlineAllocationLimit()
568 DCHECK_SEMISPACE_ALLOCATION_INFO(allocation_info_, to_space_); in UpdateInlineAllocationLimit()
576 Address top = allocation_info_->top(); in AddFreshPage()
[all …]
Dspaces.h440 inline bool IsValid() { return allocation_info_.top() != kNullAddress; } in IsValid()
452 Address top() const { return allocation_info_.top(); } in top()
453 Address limit() const { return allocation_info_.limit(); } in limit()
460 LinearAllocationArea allocation_info_; variable
467 : Space(heap, id, free_list), allocation_info_(allocation_info) {} in SpaceWithLinearArea()
472 Address top() const { return allocation_info_->top(); } in top()
473 Address limit() const { return allocation_info_->limit(); } in limit()
477 return allocation_info_->top_address(); in allocation_top_address()
482 return allocation_info_->limit_address(); in allocation_limit_address()
566 LinearAllocationArea* const allocation_info_; variable
Dpaged-spaces.cc97 LinearAllocationArea* allocation_info_, in PagedSpace() argument
99 : SpaceWithLinearArea(heap, space, free_list, allocation_info_), in PagedSpace()
213 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top()); in CommittedPhysicalMemory()
310 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top()); in SetTopAndLimit()
311 allocation_info_->Reset(top, limit); in SetTopAndLimit()
336 BasicMemoryChunk::UpdateHighWaterMark(allocation_info_->top()); in ShrinkImmortalImmovablePages()
508 if (Page::FromAllocationAreaAddress(allocation_info_->top()) == page) { in ReleasePage()
586 DCHECK_EQ(allocation_info_->start(), allocation_info_->top()); in TryAllocationFromFreeListMain()
735 (allocation_info_->top() == allocation_info_->limit()); in Verify()
751 if (page == Page::FromAllocationAreaAddress(allocation_info_->top())) { in Verify()
[all …]
Dpaged-spaces-inl.h82 if (allocation_info_->top() != kNullAddress) { in TryFreeLast()
83 return allocation_info_->DecrementTopIfAdjacent(object_address, in TryFreeLast()
Dpaged-spaces.h91 FreeList* free_list, LinearAllocationArea* allocation_info_, in NON_EXPORTED_BASE()
449 &allocation_info_, compaction_space_kind) { in CompactionSpace()
456 LinearAllocationArea allocation_info_;
/third_party/node/deps/v8/tools/
Dwindbg.js627 h.old_space_.allocation_info_.top_);
634 h.new_space_.allocation_info_.top_,
642 h.map_space_.allocation_info_.top_);
647 h.code_space_.allocation_info_.top_);