Home
last modified time | relevance | path

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

/art/runtime/gc/collector/
Dconcurrent_copying.cc117 rb_table_(heap_->GetReadBarrierTable()), in ConcurrentCopying()
300 DCHECK(heap_->non_moving_space_ != nullptr); in CreateInterRegionRefBitmaps()
312 reinterpret_cast<uint8_t*>(heap_->non_moving_space_->Begin()), in CreateInterRegionRefBitmaps()
313 heap_->non_moving_space_->Limit() - heap_->non_moving_space_->Begin())); in CreateInterRegionRefBitmaps()
322 for (const auto& space : heap_->GetContinuousSpaces()) { in BindBitmaps()
330 CHECK(space == region_space_ || space == heap_->non_moving_space_); in BindBitmaps()
340 heap_->GetCardTable()->ModifyCardsAtomic(space->Begin(), in BindBitmaps()
352 heap_->GetCardTable()->ClearCardRange(space->Begin(), space->Limit()); in BindBitmaps()
374 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 …]
Dgarbage_collector.cc67 : heap_(heap), in GarbageCollector()
201 heap_->GetLiveBitmap()->ReplaceBitmap(live_bitmap, mark_bitmap); in SwapBitmaps()
202 heap_->GetMarkBitmap()->ReplaceBitmap(mark_bitmap, live_bitmap); in SwapBitmaps()
212 heap_->GetLiveBitmap()->ReplaceLargeObjectBitmap(live_set, mark_set); in SwapBitmaps()
213 heap_->GetMarkBitmap()->ReplaceLargeObjectBitmap(mark_set, live_set); in SwapBitmaps()
263 return heap_->GetCurrentGcIteration(); in GetCurrentIteration()
266 return heap_->GetCurrentGcIteration(); in GetCurrentIteration()
271 heap_->RecordFree(freed.objects, freed.bytes); in RecordFree()
275 heap_->RecordFree(freed.objects, freed.bytes); in RecordFreeLOS()
Dsemi_space.cc148 mark_stack_ = heap_->GetMarkStack(); in InitializePhase()
162 mark_bitmap_ = heap_->GetMarkBitmap(); in InitializePhase()
231 heap_->ProcessCards(GetTimings(), kUseRememberedSet && generational_, false, true); in MarkingPhase()
235 heap_->GetCardTable()->ClearCardTable(); in MarkingPhase()
240 heap_->RevokeAllThreadLocalAllocationStacks(self_); in MarkingPhase()
242 heap_->SwapStacks(); in MarkingPhase()
286 heap_->PreSweepingGcVerification(this); in MarkingPhase()
288 heap_->SwapSemiSpaces(); in MarkingPhase()
337 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects()
338 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 …]
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/accounting/
Dremembered_set.h51 : name_(name), heap_(heap), space_(space) {} in RememberedSet()
68 return heap_; in GetHeap()
77 Heap* const heap_; variable
Dmod_union_table.h61 heap_(heap), in ModUnionTable()
105 return heap_; in GetHeap()
114 Heap* const heap_; variable
Dheap_bitmap.h66 explicit HeapBitmap(Heap* heap) : heap_(heap) {} in HeapBitmap()
69 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()
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/
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()
122 space::Space* const space = heap_->FindSpaceFromAddress(addr); in IsAddressInHeapSpace()
Dheap.h1381 Heap* const heap_;
1388 : heap_(heap), in ScopedDisableRosAllocVerification()
1389 orig_verify_pre_gc_(heap_->verify_pre_gc_rosalloc_), in ScopedDisableRosAllocVerification()
1390 orig_verify_pre_sweeping_(heap_->verify_pre_sweeping_rosalloc_), in ScopedDisableRosAllocVerification()
1391 orig_verify_post_gc_(heap_->verify_post_gc_rosalloc_) { in ScopedDisableRosAllocVerification()
1392 heap_->verify_pre_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1393 heap_->verify_pre_sweeping_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1394 heap_->verify_post_gc_rosalloc_ = false; in ScopedDisableRosAllocVerification()
1397 heap_->verify_pre_gc_rosalloc_ = orig_verify_pre_gc_; in ~ScopedDisableRosAllocVerification()
1398 heap_->verify_pre_sweeping_rosalloc_ = orig_verify_pre_sweeping_; in ~ScopedDisableRosAllocVerification()
[all …]
Dheap.cc2945 : self_(self), heap_(heap), fail_count_(fail_count), verify_referent_(verify_referent) { in VerifyReferenceVisitor()
2964 return heap_->IsLiveObjectLocked(obj, true, false, true); in IsLive()
3006 accounting::CardTable* card_table = heap_->GetCardTable(); in VerifyReference()
3007 accounting::ObjectStack* alloc_stack = heap_->allocation_stack_.get(); in VerifyReference()
3008 accounting::ObjectStack* live_stack = heap_->live_stack_.get(); in VerifyReference()
3012 if (heap_->IsValidObjectAddress(obj->GetClass())) { in VerifyReference()
3019 space::ContinuousSpace* ref_space = heap_->FindContinuousSpaceFromObject(ref, true); in VerifyReference()
3031 if (ref->GetClass() != nullptr && heap_->IsValidObjectAddress(ref->GetClass()) && in VerifyReference()
3046 heap_->GetLiveBitmap()->GetContinuousSpaceBitmap(obj); in VerifyReference()
3088 Heap* const heap_; member in art::gc::VerifyReferenceVisitor
[all …]
/art/runtime/
Druntime.cc238 heap_(nullptr), in Runtime()
337 heap_->CalculatePreGcWeightedAllocatedBytes(); in ~Runtime()
343 heap_->DumpGcPerformanceInfo(LOG_STREAM(INFO)); in ~Runtime()
345 uint64_t process_cpu_time = process_cpu_end_time - heap_->GetProcessCpuStartTime(); in ~Runtime()
346 uint64_t gc_cpu_time = heap_->GetTotalGcCpuTime(); in ~Runtime()
353 heap_->GetPreGcWeightedAllocatedBytes() / process_cpu_time; in ~Runtime()
358 heap_->GetPostGcWeightedAllocatedBytes() / in ~Runtime()
359 (heap_->GetPostGCLastProcessCpuTime() - heap_->GetProcessCpuStartTime()); in ~Runtime()
418 heap_->WaitForGcToComplete(gc::kGcCauseBackground, self); in ~Runtime()
419 heap_->DeleteThreadPool(); in ~Runtime()
[all …]
Druntime.h288 return heap_; in GetHeap()
975 gc::Heap* heap_; variable
/art/openjdkjvmti/
Dti_redefine.cc1373 : heap_(heap), self_(self) { in ScopedDisableConcurrentAndMovingGc()
1374 if (heap_->IsGcConcurrentAndMoving()) { in ScopedDisableConcurrentAndMovingGc()
1375 heap_->IncrementDisableMovingGC(self_); in ScopedDisableConcurrentAndMovingGc()
1380 if (heap_->IsGcConcurrentAndMoving()) { in ~ScopedDisableConcurrentAndMovingGc()
1381 heap_->DecrementDisableMovingGC(self_); in ~ScopedDisableConcurrentAndMovingGc()
1385 art::gc::Heap* heap_; member in openjdkjvmti::ScopedDisableConcurrentAndMovingGc