Home
last modified time | relevance | path

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

/art/runtime/gc/accounting/
Dremembered_set.h51 : name_(name), heap_(heap), space_(space) {} in RememberedSet()
68 return heap_; in GetHeap()
77 Heap* const heap_; variable
Dheap_bitmap.h58 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap()
61 const Heap* const heap_;
Dmod_union_table.h61 heap_(heap), in ModUnionTable()
105 return heap_; in GetHeap()
114 Heap* const heap_; variable
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()
414 CardTable* const card_table = heap_->GetCardTable(); in UpdateAndMarkReferences()
430 heap_->FindContinuousSpaceFromObject(reinterpret_cast<mirror::Object*>(start), false); in UpdateAndMarkReferences()
546 heap_->GetBootImageSpaces().empty() ? nullptr : heap_->GetBootImageSpaces()[0]; in UpdateAndMarkReferences()
599 cleared_cards_.insert(heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr))); in SetCards()
604 auto* card_ptr = heap_->GetCardTable()->CardFromAddr(reinterpret_cast<void*>(addr)); in ContainsCardFor()
Dremembered_set.cc136 CardTable* card_table = heap_->GetCardTable(); in UpdateAndMarkReferences()
165 CardTable* card_table = heap_->GetCardTable(); in Dump()
176 CardTable* card_table = heap_->GetCardTable(); in AssertAllDirtyCardsAreWithinSpace()
/art/runtime/gc/collector/
Dconcurrent_copying.cc115 rb_table_(heap_->GetReadBarrierTable()), in ConcurrentCopying()
298 DCHECK(heap_->non_moving_space_ != nullptr); in CreateInterRegionRefBitmaps()
310 reinterpret_cast<uint8_t*>(heap_->non_moving_space_->Begin()), in CreateInterRegionRefBitmaps()
311 heap_->non_moving_space_->Limit() - heap_->non_moving_space_->Begin()); in CreateInterRegionRefBitmaps()
320 for (const auto& space : heap_->GetContinuousSpaces()) { in BindBitmaps()
328 CHECK(space == region_space_ || space == heap_->non_moving_space_); in BindBitmaps()
338 heap_->GetCardTable()->ModifyCardsAtomic(space->Begin(), in BindBitmaps()
350 heap_->GetCardTable()->ClearCardRange(space->Begin(), space->Limit()); in BindBitmaps()
372 num_bytes_allocated_before_gc_ = static_cast<int64_t>(heap_->GetBytesAllocated()); in InitializePhase()
717 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()
177 heap_->ProcessCards(GetTimings(), /*use_rem_sets=*/false, false, true); in MarkingPhase()
181 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase()
186 heap_->RevokeAllThreadLocalAllocationStacks(self_); in MarkingPhase()
188 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()
202 heap_->SwapStacks(); in PausePhase()
203 live_stack_freeze_size_ = heap_->GetLiveStack()->Size(); in PausePhase()
208 heap_->PreSweepingGcVerification(this); in PausePhase()
226 heap_->ProcessCards(GetTimings(), false, true, false); in PreCleanCards()
254 heap_->RevokeAllThreadLocalAllocationStacks(self); in RevokeAllThreadLocalAllocationStacks()
284 heap_->ProcessCards(GetTimings(), in MarkingPhase()
322 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion()
374 if (space != heap_->GetNonMovingSpace()) { in FindDefaultSpaceBitmap()
[all …]
Dgarbage_collector.cc67 : heap_(heap), in GarbageCollector()
254 return heap_->GetCurrentGcIteration(); in GetCurrentIteration()
257 return heap_->GetCurrentGcIteration(); in GetCurrentIteration()
262 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree()
266 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
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_sweep-inl.h36 DCHECK(IsMarked(obj)) << "Scanning unmarked object " << obj << "\n" << heap_->DumpSpaces(); in ScanObjectVisit()
Dgarbage_collector.h72 return heap_; in GetHeap()
153 Heap* const heap_; variable
/art/runtime/gc/
Dverification.h40 explicit Verification(gc::Heap* heap) : heap_(heap) {} in Verification()
73 gc::Heap* const heap_;
Dverification.cc68 space::Space* const space = heap_->FindSpaceFromAddress(addr); in DumpObjectInfo()
72 accounting::CardTable* card_table = heap_->GetCardTable(); in DumpObjectInfo()
121 space::Space* const space = heap_->FindSpaceFromAddress(addr); in IsAddressInHeapSpace()
Dheap.h1428 Heap* const heap_;
1435 : heap_(heap), in ScopedDisableRosAllocVerification()
1436 orig_verify_pre_gc_(heap_->verify_pre_gc_rosalloc_), in ScopedDisableRosAllocVerification()
1437 orig_verify_pre_sweeping_(heap_->verify_pre_sweeping_rosalloc_), in ScopedDisableRosAllocVerification()
1438 orig_verify_post_gc_(heap_->verify_post_gc_rosalloc_) { in ScopedDisableRosAllocVerification()
1439 heap_->verify_pre_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1440 heap_->verify_pre_sweeping_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1441 heap_->verify_post_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1444 heap_->verify_pre_gc_rosalloc_ = orig_verify_pre_gc_; in ~ScopedDisableRosAllocVerification()
1445 heap_->verify_pre_sweeping_rosalloc_ = orig_verify_pre_sweeping_; in ~ScopedDisableRosAllocVerification()
[all …]
Dheap.cc2827 : self_(self), heap_(heap), fail_count_(fail_count), verify_referent_(verify_referent) { in VerifyReferenceVisitor()
2846 return heap_->IsLiveObjectLocked(obj, true, false, true); in IsLive()
2888 accounting::CardTable* card_table = heap_->GetCardTable(); in VerifyReference()
2889 accounting::ObjectStack* alloc_stack = heap_->allocation_stack_.get(); in VerifyReference()
2890 accounting::ObjectStack* live_stack = heap_->live_stack_.get(); in VerifyReference()
2894 if (heap_->IsValidObjectAddress(obj->GetClass())) { in VerifyReference()
2901 space::ContinuousSpace* ref_space = heap_->FindContinuousSpaceFromObject(ref, true); in VerifyReference()
2913 if (ref->GetClass() != nullptr && heap_->IsValidObjectAddress(ref->GetClass()) && in VerifyReference()
2928 heap_->GetLiveBitmap()->GetContinuousSpaceBitmap(obj); in VerifyReference()
2970 Heap* const heap_; member in art::gc::VerifyReferenceVisitor
[all …]
/art/runtime/
Druntime.cc242 heap_(nullptr), in Runtime()
343 heap_->CalculatePreGcWeightedAllocatedBytes(); in ~Runtime()
349 heap_->DumpGcPerformanceInfo(LOG_STREAM(INFO)); in ~Runtime()
351 uint64_t process_cpu_time = process_cpu_end_time - heap_->GetProcessCpuStartTime(); in ~Runtime()
352 uint64_t gc_cpu_time = heap_->GetTotalGcCpuTime(); in ~Runtime()
359 heap_->GetPreGcWeightedAllocatedBytes() / process_cpu_time; in ~Runtime()
364 heap_->GetPostGcWeightedAllocatedBytes() / in ~Runtime()
365 (heap_->GetPostGCLastProcessCpuTime() - heap_->GetProcessCpuStartTime()); in ~Runtime()
428 heap_->WaitForGcToComplete(gc::kGcCauseBackground, self); in ~Runtime()
429 heap_->DeleteThreadPool(); in ~Runtime()
[all …]
Dtransaction.h319 gc::Heap* const heap_; variable
Dtransaction.cc46 heap_(Runtime::Current()->GetHeap()), in Transaction()
127 if (heap_->ObjectIsInBootImageSpace(obj)) { in WriteConstraint()
Druntime.h308 return heap_; in GetHeap()
1078 gc::Heap* heap_; variable
/art/openjdkjvmti/
Dti_redefine.cc2256 : heap_(heap), self_(self) { in ScopedDisableConcurrentAndMovingGc()
2257 if (heap_->IsGcConcurrentAndMoving()) { in ScopedDisableConcurrentAndMovingGc()
2258 heap_->IncrementDisableMovingGC(self_); in ScopedDisableConcurrentAndMovingGc()
2263 if (heap_->IsGcConcurrentAndMoving()) { in ~ScopedDisableConcurrentAndMovingGc()
2264 heap_->DecrementDisableMovingGC(self_); in ~ScopedDisableConcurrentAndMovingGc()
2268 art::gc::Heap* heap_; member in openjdkjvmti::ScopedDisableConcurrentAndMovingGc