Home
last modified time | relevance | path

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

/art/runtime/gc/collector/
Dmark_sweep.cc102 current_space_bitmap_(nullptr), mark_bitmap_(nullptr), mark_stack_(nullptr), in MarkSweep()
117 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
118 DCHECK(mark_stack_ != nullptr); in InitializePhase()
327 ResizeMarkStack(mark_stack_->Capacity() * 2); in ExpandMarkStack()
332 if (UNLIKELY(mark_stack_->Size() < mark_stack_->Capacity())) { in ResizeMarkStack()
336 std::vector<StackReference<Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
337 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
338 mark_stack_->Resize(new_size); in ResizeMarkStack()
340 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
348 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkObjectNonNullParallel()
[all …]
Dmark_compact.cc131 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
132 DCHECK(mark_stack_ != nullptr); in InitializePhase()
275 std::vector<StackReference<Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
276 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
277 mark_stack_->Resize(new_size); in ResizeMarkStack()
279 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
284 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush()
285 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
288 mark_stack_->PushBack(obj); in MarkStackPush()
569 DCHECK(mark_stack_->IsEmpty()); in Sweep()
[all …]
Dsemi_space.cc135 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
136 DCHECK(mark_stack_ != nullptr); in InitializePhase()
425 std::vector<StackReference<Object>> temp(mark_stack_->Begin(), mark_stack_->End()); in ResizeMarkStack()
426 CHECK_LE(mark_stack_->Size(), new_size); in ResizeMarkStack()
427 mark_stack_->Resize(new_size); in ResizeMarkStack()
429 mark_stack_->PushBack(obj.AsMirrorPtr()); in ResizeMarkStack()
434 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush()
435 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
438 mark_stack_->PushBack(obj); in MarkStackPush()
662 DCHECK(mark_stack_->IsEmpty()); in Sweep()
[all …]
Dsticky_mark_sweep.cc56 mark_stack_->Reset(); in MarkReachableObjects()
Dsemi_space.h209 accounting::ObjectStack* mark_stack_; variable
Dmark_compact.h219 accounting::ObjectStack* mark_stack_; variable
Dmark_sweep.h286 accounting::ObjectStack* mark_stack_; variable
/art/runtime/gc/
Dheap.h736 return mark_stack_.get(); in GetMarkStack()
1091 std::unique_ptr<accounting::ObjectStack> mark_stack_; variable
Dheap.cc455 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize, in Heap()