Home
last modified time | relevance | path

Searched refs:mark_stack_ (Results 1 – 9 of 9) sorted by relevance

/art/runtime/gc/collector/
Dmark_sweep.cc98 mark_stack_(nullptr), in MarkSweep()
114 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
115 DCHECK(mark_stack_ != nullptr); in InitializePhase()
358 ResizeMarkStack(mark_stack_->Capacity() * 2); in ExpandMarkStack()
363 if (UNLIKELY(mark_stack_->Size() < mark_stack_->Capacity())) { in ResizeMarkStack()
367 std::vector<StackReference<mirror::Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
368 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
369 mark_stack_->Resize(new_size); in ResizeMarkStack()
371 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
384 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkObjectNonNullParallel()
[all …]
Dmark_compact.cc116 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
117 DCHECK(mark_stack_ != nullptr); in InitializePhase()
260 std::vector<StackReference<mirror::Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
261 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
262 mark_stack_->Resize(new_size); in ResizeMarkStack()
264 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
269 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush()
270 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
273 mark_stack_->PushBack(obj); in MarkStackPush()
546 DCHECK(mark_stack_->IsEmpty()); in Sweep()
[all …]
Dsemi_space.cc93 mark_stack_(nullptr), in SemiSpace()
146 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
147 DCHECK(mark_stack_ != nullptr); in InitializePhase()
459 std::vector<StackReference<Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
460 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
461 mark_stack_->Resize(new_size); in ResizeMarkStack()
463 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
468 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush()
469 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
472 mark_stack_->PushBack(obj); in MarkStackPush()
[all …]
Dsticky_mark_sweep.cc55 mark_stack_->Reset(); in MarkReachableObjects()
Dsemi_space.h204 accounting::ObjectStack* mark_stack_; variable
Dmark_compact.h195 accounting::ObjectStack* mark_stack_; variable
Dmark_sweep.h315 accounting::ObjectStack* mark_stack_; variable
/art/runtime/gc/
Dheap.h841 return mark_stack_.get(); in GetMarkStack()
1225 std::unique_ptr<accounting::ObjectStack> mark_stack_; variable
Dheap.cc552 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize, in Heap()