Home
last modified time | relevance | path

Searched refs:accounting (Results 1 – 25 of 66) 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.cc45 accounting::ContinuousSpaceBitmap&& live_bitmap, in Create()
46 accounting::ContinuousSpaceBitmap&& mark_bitmap) { in Create()
122 accounting::CardTable* card_table = Runtime::Current()->GetHeap()->GetCardTable(); in SweepCallback()
126 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,
789 accounting::ContinuousSpaceBitmap mark_bitmap_;
Dimage_space.h197 accounting::ContinuousSpaceBitmap* GetLiveBitmap() override { in GetLiveBitmap()
201 accounting::ContinuousSpaceBitmap* GetMarkBitmap() override { in GetMarkBitmap()
490 accounting::ContinuousSpaceBitmap live_bitmap_;
496 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.h44 namespace accounting {
210 accounting::ObjectStack* GetAllocationStack();
211 accounting::ObjectStack* GetLiveStack();
265 void SweepArray(accounting::ObjectStack* allocation_stack_, bool swap_bitmaps)
308 accounting::SpaceBitmap<kObjectAlignment>* bitmap)
334 void RemoveThreadMarkStackMapping(Thread* thread, accounting::ObjectStack* tl_mark_stack)
336 void AddThreadMarkStackMapping(Thread* thread, accounting::ObjectStack* tl_mark_stack)
342 std::unique_ptr<accounting::ObjectStack> gc_mark_stack_;
363 std::unique_ptr<accounting::ObjectStack> rb_mark_bit_stack_;
375 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()
121 static_assert(space::RegionSpace::kRegionSize == accounting::ReadBarrierTable::kRegionSize, in ConcurrentCopying()
136 accounting::AtomicStack<mirror::Object>* mark_stack = in ConcurrentCopying()
137 accounting::AtomicStack<mirror::Object>::Create( in ConcurrentCopying()
341 region_space_inter_region_bitmap_ = accounting::ContinuousSpaceBitmap::Create( in CreateInterRegionRefBitmaps()
349 non_moving_space_inter_region_bitmap_ = accounting::ContinuousSpaceBitmap::Create( in CreateInterRegionRefBitmaps()
669 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in VerifyGrayImmuneObjects()
744 if (heap_->GetCardTable()->GetCard(obj) == gc::accounting::CardTable::kCardClean) { in VerifyNoMissingCardMarks()
811 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.cc46 accounting::ContinuousSpaceBitmap&& live_bitmap, in FakeImageSpace()
76 accounting::ContinuousSpaceBitmap bitmap( in ReserveBitmaps()
77 accounting::ContinuousSpaceBitmap::Create( in ReserveBitmaps()
123 accounting::ContinuousSpaceBitmap live_bitmap(std::move(live_bitmaps_.back())); in CreateImageSpace()
165 std::vector<accounting::ContinuousSpaceBitmap> live_bitmaps_;
185 accounting::ContinuousSpaceBitmap* GetLiveBitmap() override { in GetLiveBitmap()
189 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()
553 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()
Dsemi_space.cc283 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects()
289 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in MarkReachableObjects()
303 accounting::RememberedSet* rem_set = GetHeap()->FindRememberedSetFromSpace(space); in MarkReachableObjects()
316 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects()
329 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects()
442 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); in MarkNonForwardedObject()
Dmark_compact.h194 class LiveWordsBitmap : private accounting::MemoryRangeBitmap<kAlignment> {
195 using Bitmap = accounting::Bitmap;
196 using MemRangeBitmap = accounting::MemoryRangeBitmap<kAlignment>;
628 accounting::ObjectStack* mark_stack_;
756 accounting::ContinuousSpaceBitmap* const moving_space_bitmap_;
757 accounting::ContinuousSpaceBitmap* non_moving_space_bitmap_;
/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.h81 namespace accounting {
551 accounting::CardTable* GetCardTable() const { in GetCardTable()
555 accounting::ReadBarrierTable* GetReadBarrierTable() const { in GetReadBarrierTable()
670 accounting::HeapBitmap* GetLiveBitmap() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetLiveBitmap()
674 accounting::HeapBitmap* GetMarkBitmap() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetMarkBitmap()
678 accounting::ObjectStack* GetLiveStack() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetLiveStack()
682 accounting::ObjectStack* GetAllocationStack() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetAllocationStack()
698 void MarkAllocStack(accounting::ContinuousSpaceBitmap* bitmap1,
699 accounting::ContinuousSpaceBitmap* bitmap2,
700 accounting::LargeObjectBitmap* large_objects,
[all …]
Dheap.cc477 live_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
478 mark_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
731 card_table_.reset(accounting::CardTable::Create(reinterpret_cast<uint8_t*>(kMinHeapAddress), in Heap()
735 rb_table_.reset(new accounting::ReadBarrierTable()); in Heap()
742 accounting::ModUnionTable* mod_union_table = new accounting::ModUnionTableToZygoteAllocspace( in Heap()
749 accounting::RememberedSet* non_moving_space_rem_set = in Heap()
750 new accounting::RememberedSet("Non-moving space remembered set", this, non_moving_space_); in Heap()
756 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize, in Heap()
759 allocation_stack_.reset(accounting::ObjectStack::Create( in Heap()
761 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