Home
last modified time | relevance | path

Searched refs:heap_ (Results 1 – 23 of 23) sorted by relevance

/art/runtime/gc/collector/
Dconcurrent_copying.cc115 rb_table_(heap_->GetReadBarrierTable()), in ConcurrentCopying()
339 DCHECK(heap_->non_moving_space_ != nullptr); in CreateInterRegionRefBitmaps()
351 reinterpret_cast<uint8_t*>(heap_->non_moving_space_->Begin()), in CreateInterRegionRefBitmaps()
352 heap_->non_moving_space_->Limit() - heap_->non_moving_space_->Begin()); in CreateInterRegionRefBitmaps()
361 for (const auto& space : heap_->GetContinuousSpaces()) { in BindBitmaps()
369 CHECK(space == region_space_ || space == heap_->non_moving_space_); in BindBitmaps()
379 heap_->GetCardTable()->ModifyCardsAtomic(space->Begin(), in BindBitmaps()
391 heap_->GetCardTable()->ClearCardRange(space->Begin(), space->Limit()); in BindBitmaps()
413 num_bytes_allocated_before_gc_ = static_cast<int64_t>(heap_->GetBytesAllocated()); in InitializePhase()
744 if (heap_->GetCardTable()->GetCard(obj) == gc::accounting::CardTable::kCardClean) { in VerifyNoMissingCardMarks()
[all …]
Dsemi_space.cc128 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
141 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
178 heap_->ProcessCards(GetTimings(), /*use_rem_sets=*/false, false, true); in MarkingPhase()
182 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase()
187 heap_->RevokeAllThreadLocalAllocationStacks(self_); in MarkingPhase()
189 heap_->SwapStacks(); in MarkingPhase()
232 heap_->PreSweepingGcVerification(this); in MarkingPhase()
234 heap_->SwapSemiSpaces(); in MarkingPhase()
283 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects()
284 heap_->MarkAllocStackAsLive(live_stack); in MarkReachableObjects()
[all …]
Dmark_sweep.cc118 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
139 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
198 heap_->SwapStacks(); in PausePhase()
199 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); in PausePhase()
204 heap_->PreSweepingGcVerification(this); in PausePhase()
224 heap_->ProcessCards(GetTimings(), false, true, false); in PreCleanCards()
252 heap_->RevokeAllThreadLocalAllocationStacks(self); in RevokeAllThreadLocalAllocationStacks()
282 heap_->ProcessCards(GetTimings(), in MarkingPhase()
320 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion()
374 if (space != heap_->GetNonMovingSpace()) { in FindDefaultSpaceBitmap()
[all …]
Dconcurrent_copying-inl.h136 DCHECK(heap_->collector_type_ == kCollectorTypeCC); in Mark()
169 DCHECK(region_space_->IsInToSpace(to_ref) || heap_->non_moving_space_->HasAddress(to_ref)) in Mark()
187 heap_->GetVerification()->LogHeapCorruption(holder, offset, from_ref, /* fatal= */ true); in Mark()
Dmark_compact-inl.h236 heap_->DumpSpaces(oss); in UpdateRef()
246 << heap_->GetVerification()->DumpRAMAroundAddress( in UpdateRef()
249 << heap_->GetVerification()->DumpRAMAroundAddress( in UpdateRef()
251 << " old_ref " << heap_->GetVerification()->DumpRAMAroundAddress( in UpdateRef()
291 heap_->DumpSpaces(oss); in VerifyRootSingleUpdate()
392 << heap_->GetVerification()->DumpRAMAroundAddress( in PostCompactAddressUnchecked()
Dmark_compact.cc432 size_t nr_non_moving_pages = DivideByPageSize(heap_->GetNonMovingSpace()->Capacity()); in ComputeInfoMapSize()
454 total += DivideByPageSize(heap_->GetNonMovingSpace()->Capacity()) * sizeof(ObjReference); in InitializeInfoMap()
560 std::min(heap_->GetParallelGCThreadCount(), kMaxNumUffdWorkers)); in MarkCompact()
697 accounting::CardTable* const card_table = heap_->GetCardTable(); in PrepareCardTableForMarking()
711 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in PrepareCardTableForMarking()
736 CHECK_EQ(space, heap_->GetNonMovingSpace()); in PrepareCardTableForMarking()
757 space::LargeObjectSpace* const los = heap_->GetLargeObjectsSpace(); in MarkZygoteLargeObjects()
778 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
855 heap_->GetThreadPool()->WaitForWorkersToBeCreated(); in RunPhases()
1151 ThreadPool* pool = heap_->GetThreadPool(); in PrepareForCompaction()
[all …]
Dgarbage_collector.cc112 : heap_(heap), in GarbageCollector()
349 return heap_->GetCurrentGcIteration(); in GetCurrentIteration()
352 return heap_->GetCurrentGcIteration(); in GetCurrentIteration()
374 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree()
378 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
Dmark_sweep-inl.h36 DCHECK(IsMarked(obj)) << "Scanning unmarked object " << obj << "\n" << heap_->DumpSpaces(); in ScanObjectVisit()
Dgarbage_collector.h74 return heap_; in GetHeap()
159 Heap* const heap_; variable
/art/runtime/gc/accounting/
Dremembered_set.h52 : name_(name), heap_(heap), space_(space) {} in RememberedSet()
69 return heap_; in GetHeap()
78 Heap* const heap_; variable
Dmod_union_table.h62 heap_(heap), in ModUnionTable()
106 return heap_; in GetHeap()
115 Heap* const heap_; variable
Dheap_bitmap.h58 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap()
61 const Heap* const heap_;
Dmod_union_table.cc346 CHECK(heap_->IsLiveObjectLocked(ref->AsMirrorPtr())); in Verify()
351 CardTable* card_table = heap_->GetCardTable(); in Verify()
368 CardTable* card_table = heap_->GetCardTable(); in Dump()
389 CardTable* const card_table = heap_->GetCardTable(); in VisitObjects()
422 CardTable* const card_table = heap_->GetCardTable(); in UpdateAndMarkReferences()
438 heap_->FindContinuousSpaceFromObject(reinterpret_cast<mirror::Object*>(start), false); in UpdateAndMarkReferences()
554 heap_->GetBootImageSpaces().empty() ? nullptr : heap_->GetBootImageSpaces()[0]; in UpdateAndMarkReferences()
607 cleared_cards_.insert(heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr))); in SetCards()
612 auto* card_ptr = heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr)); in ContainsCardFor()
Dremembered_set.cc135 CardTable* card_table = heap_->GetCardTable(); in UpdateAndMarkReferences()
164 CardTable* card_table = heap_->GetCardTable(); in Dump()
175 CardTable* card_table = heap_->GetCardTable(); in AssertAllDirtyCardsAreWithinSpace()
/art/runtime/gc/
Dverification.h42 explicit Verification(gc::Heap* heap) : heap_(heap) {} in Verification()
84 gc::Heap* const heap_;
Dverification.cc78 space::Space* const space = heap_->FindSpaceFromAddress(addr); in DumpObjectInfo()
82 accounting::CardTable* card_table = heap_->GetCardTable(); in DumpObjectInfo()
131 space::Space* const space = heap_->FindSpaceFromAddress(addr); in IsAddressInHeapSpace()
Dheap.h1554 Heap* const heap_;
1561 : heap_(heap), in ScopedDisableRosAllocVerification()
1562 orig_verify_pre_gc_(heap_->verify_pre_gc_rosalloc_), in ScopedDisableRosAllocVerification()
1563 orig_verify_pre_sweeping_(heap_->verify_pre_sweeping_rosalloc_), in ScopedDisableRosAllocVerification()
1564 orig_verify_post_gc_(heap_->verify_post_gc_rosalloc_) { in ScopedDisableRosAllocVerification()
1565 heap_->verify_pre_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1566 heap_->verify_pre_sweeping_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1567 heap_->verify_post_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1570 heap_->verify_pre_gc_rosalloc_ = orig_verify_pre_gc_; in ~ScopedDisableRosAllocVerification()
1571 heap_->verify_pre_sweeping_rosalloc_ = orig_verify_pre_sweeping_; in ~ScopedDisableRosAllocVerification()
[all …]
Dheap.cc3054 : self_(self), heap_(heap), fail_count_(fail_count), verify_referent_(verify_referent) { in VerifyReferenceVisitor()
3072 return heap_->IsLiveObjectLocked(obj, true, false, true); in IsLive()
3114 accounting::CardTable* card_table = heap_->GetCardTable(); in VerifyReference()
3115 accounting::ObjectStack* alloc_stack = heap_->allocation_stack_.get(); in VerifyReference()
3116 accounting::ObjectStack* live_stack = heap_->live_stack_.get(); in VerifyReference()
3120 if (heap_->IsValidObjectAddress(obj->GetClass())) { in VerifyReference()
3127 space::ContinuousSpace* ref_space = heap_->FindContinuousSpaceFromObject(ref, true); in VerifyReference()
3139 if (ref->GetClass() != nullptr && heap_->IsValidObjectAddress(ref->GetClass()) && in VerifyReference()
3154 heap_->GetLiveBitmap()->GetContinuousSpaceBitmap(obj); in VerifyReference()
3196 Heap* const heap_; member in art::gc::VerifyReferenceVisitor
[all …]
/art/runtime/
Druntime.cc262 heap_(nullptr), in Runtime()
376 heap_->CalculatePreGcWeightedAllocatedBytes(); in ~Runtime()
382 heap_->DumpGcPerformanceInfo(LOG_STREAM(INFO)); in ~Runtime()
384 uint64_t process_cpu_time = process_cpu_end_time - heap_->GetProcessCpuStartTime(); in ~Runtime()
385 uint64_t gc_cpu_time = heap_->GetTotalGcCpuTime(); in ~Runtime()
392 heap_->GetPreGcWeightedAllocatedBytes() / process_cpu_time; in ~Runtime()
397 heap_->GetPostGcWeightedAllocatedBytes() / in ~Runtime()
398 (heap_->GetPostGCLastProcessCpuTime() - heap_->GetProcessCpuStartTime()); in ~Runtime()
428 heap_->DisableGCForShutdown(); in ~Runtime()
429 heap_->WaitForWorkersToBeCreated(); in ~Runtime()
[all …]
Dtransaction.cc57 heap_(Runtime::Current()->GetHeap()), in Transaction()
130 if (heap_->ObjectIsInBootImageSpace(obj)) { in WriteConstraint()
147 } else if (heap_->GetBootImageSpaces().empty()) { in WriteValueConstraint()
152 return !AotClassLinker::CanReferenceInBootImageExtensionOrAppImage(klass, heap_); in WriteValueConstraint()
Dtransaction.h378 gc::Heap* const heap_; variable
Druntime.h399 return heap_; in GetHeap()
1247 gc::Heap* heap_; variable
/art/openjdkjvmti/
Dti_redefine.cc2267 : heap_(heap), self_(self) { in ScopedDisableConcurrentAndMovingGc()
2268 if (heap_->IsGcConcurrentAndMoving()) { in ScopedDisableConcurrentAndMovingGc()
2269 heap_->IncrementDisableMovingGC(self_); in ScopedDisableConcurrentAndMovingGc()
2274 if (heap_->IsGcConcurrentAndMoving()) { in ~ScopedDisableConcurrentAndMovingGc()
2275 heap_->DecrementDisableMovingGC(self_); in ~ScopedDisableConcurrentAndMovingGc()
2279 art::gc::Heap* heap_; member in openjdkjvmti::ScopedDisableConcurrentAndMovingGc