Home
last modified time | relevance | path

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

123

/art/runtime/gc/space/
Dspace.cc84 live_bitmap_.reset(accounting::LargeObjectBitmap::Create("large live objects", nullptr, in DiscontinuousSpace()
87 mark_bitmap_.reset(accounting::LargeObjectBitmap::Create("large marked objects", nullptr, in DiscontinuousSpace()
93 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in Sweep()
94 accounting::ContinuousSpaceBitmap* mark_bitmap = GetMarkBitmap(); in Sweep()
104 accounting::ContinuousSpaceBitmap::SweepWalk( in Sweep()
112 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in BindLiveToMarkBitmap()
114 accounting::ContinuousSpaceBitmap* mark_bitmap = mark_bitmap_.release(); in BindLiveToMarkBitmap()
128 accounting::ContinuousSpaceBitmap* new_bitmap = temp_bitmap_.release(); in UnBindBitmaps()
Dspace.h298 virtual accounting::ContinuousSpaceBitmap* GetLiveBitmap() const = 0;
299 virtual accounting::ContinuousSpaceBitmap* GetMarkBitmap() const = 0;
347 accounting::LargeObjectBitmap* GetLiveBitmap() const { in GetLiveBitmap()
351 accounting::LargeObjectBitmap* GetMarkBitmap() const { in GetMarkBitmap()
364 std::unique_ptr<accounting::LargeObjectBitmap> live_bitmap_;
365 std::unique_ptr<accounting::LargeObjectBitmap> mark_bitmap_;
438 accounting::ContinuousSpaceBitmap* GetLiveBitmap() const override { in GetLiveBitmap()
442 accounting::ContinuousSpaceBitmap* GetMarkBitmap() const override { in GetMarkBitmap()
446 accounting::ContinuousSpaceBitmap* GetTempBitmap() const { in GetTempBitmap()
451 virtual accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() = 0;
[all …]
Dzygote_space.h35 accounting::ContinuousSpaceBitmap* live_bitmap,
36 accounting::ContinuousSpaceBitmap* mark_bitmap)
84 accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() override { in GetSweepCallback()
Dzygote_space.cc46 accounting::ContinuousSpaceBitmap* live_bitmap, in Create()
47 accounting::ContinuousSpaceBitmap* mark_bitmap) { in Create()
116 accounting::CardTable* card_table = Runtime::Current()->GetHeap()->GetCardTable(); in SweepCallback()
120 accounting::ContinuousSpaceBitmap* bitmap = zygote_space->GetLiveBitmap(); in SweepCallback()
Dimage_space.h100 accounting::ContinuousSpaceBitmap* GetLiveBitmap() const override { in GetLiveBitmap()
104 accounting::ContinuousSpaceBitmap* GetMarkBitmap() const override { in GetMarkBitmap()
194 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap_;
199 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap,
Dmalloc_space.cc63 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize); in MallocSpace()
66 live_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in MallocSpace()
71 mark_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in MallocSpace()
188 DCHECK_ALIGNED(begin_, accounting::CardTable::kCardSize); in CreateZygoteSpace()
189 DCHECK_ALIGNED(End(), accounting::CardTable::kCardSize); in CreateZygoteSpace()
266 accounting::ContinuousSpaceBitmap* bitmap = space->GetLiveBitmap(); in SweepCallback()
Dbump_pointer_space.h99 accounting::ContinuousSpaceBitmap* GetLiveBitmap() const override { in GetLiveBitmap()
103 accounting::ContinuousSpaceBitmap* GetMarkBitmap() const override { in GetMarkBitmap()
156 accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() override;
Dregion_space.h28 namespace accounting {
110 accounting::ContinuousSpaceBitmap* GetLiveBitmap() const override { in GetLiveBitmap()
113 accounting::ContinuousSpaceBitmap* GetMarkBitmap() const override { in GetMarkBitmap()
218 ALWAYS_INLINE void ScanUnevacFromSpace(accounting::ContinuousSpaceBitmap* bitmap,
221 accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() override { in GetSweepCallback()
300 void SetFromSpace(accounting::ReadBarrierTable* rb_table,
759 std::unique_ptr<accounting::ContinuousSpaceBitmap> mark_bitmap_;
/art/runtime/gc/accounting/
Dheap_bitmap.cc24 namespace accounting { namespace
43 void HeapBitmap::AddContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in AddContinuousSpaceBitmap()
55 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()
/art/runtime/gc/collector/
Dconcurrent_copying.h41 namespace accounting {
196 accounting::ObjectStack* GetAllocationStack();
197 accounting::ObjectStack* GetLiveStack();
251 void SweepArray(accounting::ObjectStack* allocation_stack_, bool swap_bitmaps)
298 accounting::SpaceBitmap<kObjectAlignment>* bitmap)
326 std::unique_ptr<accounting::ObjectStack> gc_mark_stack_;
347 std::unique_ptr<accounting::ObjectStack> rb_mark_bit_stack_;
355 std::vector<accounting::ObjectStack*> revoked_mark_stacks_
359 std::vector<accounting::ObjectStack*> pooled_mark_stacks_
368 accounting::ContinuousSpaceBitmap* region_space_bitmap_;
[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()
302 region_space_inter_region_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in CreateInterRegionRefBitmaps()
310 non_moving_space_inter_region_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in CreateInterRegionRefBitmaps()
642 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in VerifyGrayImmuneObjects()
717 if (heap_->GetCardTable()->GetCard(obj) == gc::accounting::CardTable::kCardClean) { in VerifyNoMissingCardMarks()
789 accounting::CardTable* const card_table = heap_->GetCardTable(); in GrayAllDirtyImmuneObjects()
[all …]
Dimmune_spaces_test.cc44 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap, in DummyImageSpace()
71 std::unique_ptr<accounting::ContinuousSpaceBitmap> bitmap( in ReserveBitmaps()
72 accounting::ContinuousSpaceBitmap::Create("bitmap", in ReserveBitmaps()
99 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap(std::move(live_bitmaps_.back())); in CreateImageSpace()
139 std::vector<std::unique_ptr<accounting::ContinuousSpaceBitmap>> live_bitmaps_;
159 accounting::ContinuousSpaceBitmap* GetLiveBitmap() const override { in GetLiveBitmap()
163 accounting::ContinuousSpaceBitmap* GetMarkBitmap() const override { in GetMarkBitmap()
Dsemi_space.h45 namespace accounting {
206 accounting::ObjectStack* mark_stack_;
218 accounting::ContinuousSpaceBitmap* to_space_live_bitmap_;
221 accounting::HeapBitmap* mark_bitmap_;
Dsemi_space.cc337 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects()
343 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in MarkReachableObjects()
358 accounting::RememberedSet* rem_set = GetHeap()->FindRememberedSetFromSpace(space); in MarkReachableObjects()
374 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects()
387 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects()
413 accounting::LargeObjectBitmap* large_live_bitmap = los->GetLiveBitmap(); in MarkReachableObjects()
538 accounting::ContinuousSpaceBitmap* live_bitmap = promo_dest_space_->GetLiveBitmap(); in MarkNonForwardedObject()
540 accounting::ContinuousSpaceBitmap* mark_bitmap = promo_dest_space_->GetMarkBitmap(); in MarkNonForwardedObject()
584 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); in MarkNonForwardedObject()
738 accounting::ContinuousSpaceBitmap* live_bitmap = nullptr; in ProcessMarkStack()
[all …]
Dmark_sweep.cc197 RecursiveMarkDirtyObjects(true, accounting::CardTable::kCardDirty); in PausePhase()
244 RecursiveMarkDirtyObjects(false, accounting::CardTable::kCardDirty - 1); in PreCleanCards()
322 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_;
Dgarbage_collector.cc198 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SwapBitmaps()
199 accounting::ContinuousSpaceBitmap* mark_bitmap = space->GetMarkBitmap(); in SwapBitmaps()
210 accounting::LargeObjectBitmap* live_set = space->GetLiveBitmap(); in SwapBitmaps()
211 accounting::LargeObjectBitmap* mark_set = space->GetMarkBitmap(); in SwapBitmaps()
/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.h75 namespace accounting {
522 accounting::CardTable* GetCardTable() const { in GetCardTable()
526 accounting::ReadBarrierTable* GetReadBarrierTable() const { in GetReadBarrierTable()
636 accounting::HeapBitmap* GetLiveBitmap() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetLiveBitmap()
640 accounting::HeapBitmap* GetMarkBitmap() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetMarkBitmap()
644 accounting::ObjectStack* GetLiveStack() REQUIRES_SHARED(Locks::heap_bitmap_lock_) { in GetLiveStack()
661 void MarkAllocStack(accounting::SpaceBitmap<kObjectAlignment>* bitmap1,
662 accounting::SpaceBitmap<kObjectAlignment>* bitmap2,
663 accounting::SpaceBitmap<kLargeObjectAlignment>* large_objects,
664 accounting::ObjectStack* stack)
[all …]
Dheap_test.cc90 std::unique_ptr<accounting::ContinuousSpaceBitmap> bitmap( in TEST_F()
91 accounting::ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F()
Dheap.cc336 live_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
337 mark_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap()
593 card_table_.reset(accounting::CardTable::Create(reinterpret_cast<uint8_t*>(kMinHeapAddress), in Heap()
597 rb_table_.reset(new accounting::ReadBarrierTable()); in Heap()
604 accounting::ModUnionTable* mod_union_table = new accounting::ModUnionTableToZygoteAllocspace( in Heap()
611 accounting::RememberedSet* non_moving_space_rem_set = in Heap()
612 new accounting::RememberedSet("Non-moving space remembered set", this, non_moving_space_); in Heap()
618 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize, in Heap()
621 allocation_stack_.reset(accounting::ObjectStack::Create( in Heap()
623 live_stack_.reset(accounting::ObjectStack::Create( in Heap()
[all …]
/art/tools/cpp-define-generator/
Dglobals.def23 #include "gc/accounting/card_table.h"
44 art::gc::accounting::CardTable::kCardShift)

123