Home
last modified time | relevance | path

Searched refs:accounting (Results 1 – 25 of 65) sorted by relevance

123

/art/runtime/gc/space/
Dspace.h301 virtual accounting::ContinuousSpaceBitmap* GetLiveBitmap() = 0;
302 virtual accounting::ContinuousSpaceBitmap* GetMarkBitmap() = 0;
352 accounting::LargeObjectBitmap* GetLiveBitmap() { in GetLiveBitmap()
356 accounting::LargeObjectBitmap* GetMarkBitmap() { in GetMarkBitmap()
369 accounting::LargeObjectBitmap live_bitmap_;
370 accounting::LargeObjectBitmap mark_bitmap_;
442 accounting::ContinuousSpaceBitmap* GetLiveBitmap() override { in GetLiveBitmap()
446 accounting::ContinuousSpaceBitmap* GetMarkBitmap() override { in GetMarkBitmap()
450 accounting::ContinuousSpaceBitmap* GetTempBitmap() { in GetTempBitmap()
455 virtual accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() = 0;
[all …]
Dspace.cc84 live_bitmap_ = accounting::LargeObjectBitmap::Create("large live objects", nullptr, capacity); in DiscontinuousSpace()
86 mark_bitmap_ = accounting::LargeObjectBitmap::Create("large marked objects", nullptr, capacity); in DiscontinuousSpace()
91 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in Sweep()
92 accounting::ContinuousSpaceBitmap* mark_bitmap = GetMarkBitmap(); in Sweep()
102 accounting::ContinuousSpaceBitmap::SweepWalk( in Sweep()
Dzygote_space.h35 accounting::ContinuousSpaceBitmap&& live_bitmap,
36 accounting::ContinuousSpaceBitmap&& mark_bitmap)
86 accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() override { in GetSweepCallback()
Dzygote_space.cc47 accounting::ContinuousSpaceBitmap&& live_bitmap, in Create()
48 accounting::ContinuousSpaceBitmap&& mark_bitmap) { in Create()
124 accounting::CardTable* card_table = Runtime::Current()->GetHeap()->GetCardTable(); in SweepCallback()
128 accounting::ContinuousSpaceBitmap* bitmap = zygote_space->GetLiveBitmap(); in SweepCallback()
Dmalloc_space.cc63 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize); in MallocSpace()
66 live_bitmap_ = accounting::ContinuousSpaceBitmap::Create( in MallocSpace()
71 mark_bitmap_ = accounting::ContinuousSpaceBitmap::Create( in MallocSpace()
187 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize); in CreateZygoteSpace()
188 DCHECK_ALIGNED(End(), accounting::CardTable::kCardSize); in CreateZygoteSpace()
267 accounting::ContinuousSpaceBitmap* bitmap = space->GetLiveBitmap(); in SweepCallback()
Dregion_space.h31 namespace accounting {
113 accounting::ContinuousSpaceBitmap* GetLiveBitmap() override { in GetLiveBitmap()
116 accounting::ContinuousSpaceBitmap* GetMarkBitmap() override { in GetMarkBitmap()
224 ALWAYS_INLINE void ScanUnevacFromSpace(accounting::ContinuousSpaceBitmap* bitmap,
227 accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() override { in GetSweepCallback()
306 void SetFromSpace(accounting::ReadBarrierTable* rb_table,
786 accounting::ContinuousSpaceBitmap mark_bitmap_;
Dimage_space.h196 accounting::ContinuousSpaceBitmap* GetLiveBitmap() override { in GetLiveBitmap()
200 accounting::ContinuousSpaceBitmap* GetMarkBitmap() override { in GetMarkBitmap()
498 accounting::ContinuousSpaceBitmap live_bitmap_;
504 accounting::ContinuousSpaceBitmap&& live_bitmap,
/art/runtime/gc/accounting/
Dheap_bitmap.cc24 namespace accounting { namespace
26 void HeapBitmap::AddContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in AddContinuousSpaceBitmap()
38 void HeapBitmap::RemoveContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in RemoveContinuousSpaceBitmap()
Dmod_union_table-inl.h26 namespace accounting {
Dcard_table.h40 namespace accounting {
172 return (card == accounting::CardTable::kCardDirty) ? card - 1 : 0; in operator()
Dremembered_set.h41 namespace accounting {
/art/runtime/gc/collector/
Dconcurrent_copying.h43 namespace accounting {
211 accounting::ObjectStack* GetAllocationStack();
212 accounting::ObjectStack* GetLiveStack();
266 void SweepArray(accounting::ObjectStack* allocation_stack_, bool swap_bitmaps)
309 accounting::SpaceBitmap<kObjectAlignment>* bitmap)
335 void RemoveThreadMarkStackMapping(Thread* thread, accounting::ObjectStack* tl_mark_stack)
337 void AddThreadMarkStackMapping(Thread* thread, accounting::ObjectStack* tl_mark_stack)
343 std::unique_ptr<accounting::ObjectStack> gc_mark_stack_;
364 std::unique_ptr<accounting::ObjectStack> rb_mark_bit_stack_;
376 std::vector<accounting::ObjectStack*> revoked_mark_stacks_
[all …]
Dconcurrent_copying.cc80 gc_mark_stack_(accounting::ObjectStack::Create("concurrent copying gc mark stack", in ConcurrentCopying()
85 rb_mark_bit_stack_(accounting::ObjectStack::Create("rb copying gc mark stack", in ConcurrentCopying()
123 static_assert(space::RegionSpace::kRegionSize == accounting::ReadBarrierTable::kRegionSize, in ConcurrentCopying()
138 accounting::AtomicStack<mirror::Object>* mark_stack = in ConcurrentCopying()
139 accounting::AtomicStack<mirror::Object>::Create( in ConcurrentCopying()
337 region_space_inter_region_bitmap_ = accounting::ContinuousSpaceBitmap::Create( in CreateInterRegionRefBitmaps()
345 non_moving_space_inter_region_bitmap_ = accounting::ContinuousSpaceBitmap::Create( in CreateInterRegionRefBitmaps()
679 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in VerifyGrayImmuneObjects()
754 if (heap_->GetCardTable()->GetCard(obj) == gc::accounting::CardTable::kCardClean) { in VerifyNoMissingCardMarks()
826 accounting::CardTable* const card_table = heap_->GetCardTable(); in GrayAllDirtyImmuneObjects()
[all …]
Dsemi_space.h45 namespace accounting {
206 accounting::ObjectStack* mark_stack_;
215 accounting::ContinuousSpaceBitmap* to_space_live_bitmap_;
218 accounting::HeapBitmap* mark_bitmap_;
Dimmune_spaces_test.cc45 accounting::ContinuousSpaceBitmap&& live_bitmap, in FakeImageSpace()
73 accounting::ContinuousSpaceBitmap bitmap( in ReserveBitmaps()
74 accounting::ContinuousSpaceBitmap::Create("bitmap", in ReserveBitmaps()
101 accounting::ContinuousSpaceBitmap live_bitmap(std::move(live_bitmaps_.back())); in CreateImageSpace()
143 std::vector<accounting::ContinuousSpaceBitmap> live_bitmaps_;
163 accounting::ContinuousSpaceBitmap* GetLiveBitmap() override { in GetLiveBitmap()
167 accounting::ContinuousSpaceBitmap* GetMarkBitmap() override { in GetMarkBitmap()
Dmark_sweep.cc193 RecursiveMarkDirtyObjects(true, accounting::CardTable::kCardDirty); in PausePhase()
242 RecursiveMarkDirtyObjects(false, accounting::CardTable::kCardDirty - 1); in PreCleanCards()
320 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion()
368 accounting::ContinuousSpaceBitmap* bitmap = space->GetMarkBitmap(); in FindDefaultSpaceBitmap()
552 accounting::ContinuousSpaceBitmap* object_bitmap = current_space_bitmap_; in MarkObjectParallel()
833 accounting::ContinuousSpaceBitmap* bitmap, in CardScanTask()
848 accounting::ContinuousSpaceBitmap* const bitmap_;
860 accounting::CardTable* card_table = mark_sweep_->GetHeap()->GetCardTable(); in Run()
881 accounting::CardTable* card_table = GetHeap()->GetCardTable(); in ScanGrayObjects()
908 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects()
[all …]
Dmark_sweep.h47 namespace accounting {
157 void SweepArray(accounting::ObjectStack* allocation_stack_, bool swap_bitmaps)
311 accounting::ContinuousSpaceBitmap* current_space_bitmap_;
313 accounting::HeapBitmap* mark_bitmap_;
315 accounting::ObjectStack* mark_stack_;
Dsticky_mark_sweep.cc60 RecursiveMarkDirtyObjects(false, accounting::CardTable::kCardDirty - 1); in MarkReachableObjects()
Dmark_compact.h183 class LiveWordsBitmap : private accounting::MemoryRangeBitmap<kAlignment> {
184 using Bitmap = accounting::Bitmap;
185 using MemRangeBitmap = accounting::MemoryRangeBitmap<kAlignment>;
538 accounting::ObjectStack* mark_stack_;
651 accounting::ContinuousSpaceBitmap* const moving_space_bitmap_;
652 accounting::ContinuousSpaceBitmap* non_moving_space_bitmap_;
Dsemi_space.cc284 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects()
290 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in MarkReachableObjects()
304 accounting::RememberedSet* rem_set = GetHeap()->FindRememberedSetFromSpace(space); in MarkReachableObjects()
317 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects()
330 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects()
443 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); in MarkNonForwardedObject()
/art/runtime/
Dwrite_barrier.h25 namespace accounting {
57 ALWAYS_INLINE static gc::accounting::CardTable* GetCardTable();
Dwrite_barrier-inl.h50 inline gc::accounting::CardTable* WriteBarrier::GetCardTable() { in GetCardTable()
/art/runtime/gc/
Dheap.h78 namespace accounting {
537 accounting::CardTable* GetCardTable() const { in GetCardTable()
541 accounting::ReadBarrierTable* GetReadBarrierTable() const { in GetReadBarrierTable()
657 accounting::HeapBitmap* GetLiveBitmap() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetLiveBitmap()
661 accounting::HeapBitmap* GetMarkBitmap() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetMarkBitmap()
665 accounting::ObjectStack* GetLiveStack() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetLiveStack()
669 accounting::ObjectStack* GetAllocationStack() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetAllocationStack()
686 void MarkAllocStack(accounting::SpaceBitmap<kObjectAlignment>* bitmap1,
687 accounting::SpaceBitmap<kObjectAlignment>* bitmap2,
688 accounting::SpaceBitmap<kLargeObjectAlignment>* large_objects,
[all …]
Dheap.cc457 live_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
458 mark_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
710 card_table_.reset(accounting::CardTable::Create(reinterpret_cast<uint8_t*>(kMinHeapAddress), in Heap()
714 rb_table_.reset(new accounting::ReadBarrierTable()); in Heap()
721 accounting::ModUnionTable* mod_union_table = new accounting::ModUnionTableToZygoteAllocspace( in Heap()
728 accounting::RememberedSet* non_moving_space_rem_set = in Heap()
729 new accounting::RememberedSet("Non-moving space remembered set", this, non_moving_space_); in Heap()
735 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize, in Heap()
738 allocation_stack_.reset(accounting::ObjectStack::Create( in Heap()
740 live_stack_.reset(accounting::ObjectStack::Create( in Heap()
[all …]
/art/tools/cpp-define-generator/
Dglobals.def23 #include "gc/accounting/card_table.h"
53 art::gc::accounting::CardTable::kCardShift)

123