/art/runtime/gc/space/ |
D | space.cc | 76 live_bitmap_.reset(accounting::LargeObjectBitmap::Create("large live objects", nullptr, in DiscontinuousSpace() 79 mark_bitmap_.reset(accounting::LargeObjectBitmap::Create("large marked objects", nullptr, in DiscontinuousSpace() 85 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in Sweep() 86 accounting::ContinuousSpaceBitmap* mark_bitmap = GetMarkBitmap(); in Sweep() 96 accounting::ContinuousSpaceBitmap::SweepWalk( in Sweep() 105 accounting::ContinuousSpaceBitmap* live_bitmap = GetLiveBitmap(); in BindLiveToMarkBitmap() 107 accounting::ContinuousSpaceBitmap* mark_bitmap = mark_bitmap_.release(); in BindLiveToMarkBitmap() 121 accounting::ContinuousSpaceBitmap* new_bitmap = temp_bitmap_.release(); in UnBindBitmaps()
|
D | space.h | 278 virtual accounting::ContinuousSpaceBitmap* GetLiveBitmap() const = 0; 279 virtual accounting::ContinuousSpaceBitmap* GetMarkBitmap() const = 0; 327 accounting::LargeObjectBitmap* GetLiveBitmap() const { in GetLiveBitmap() 331 accounting::LargeObjectBitmap* GetMarkBitmap() const { in GetMarkBitmap() 344 std::unique_ptr<accounting::LargeObjectBitmap> live_bitmap_; 345 std::unique_ptr<accounting::LargeObjectBitmap> mark_bitmap_; 412 accounting::ContinuousSpaceBitmap* GetLiveBitmap() const OVERRIDE { in GetLiveBitmap() 416 accounting::ContinuousSpaceBitmap* GetMarkBitmap() const OVERRIDE { in GetMarkBitmap() 421 virtual accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() = 0; 424 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap_; [all …]
|
D | image_space.h | 88 accounting::ContinuousSpaceBitmap* GetLiveBitmap() const OVERRIDE { in GetLiveBitmap() 92 accounting::ContinuousSpaceBitmap* GetMarkBitmap() const OVERRIDE { in GetMarkBitmap() 145 std::unique_ptr<accounting::ContinuousSpaceBitmap> live_bitmap_; 148 MemMap* mem_map, accounting::ContinuousSpaceBitmap* live_bitmap);
|
D | zygote_space.h | 34 accounting::ContinuousSpaceBitmap* live_bitmap, 35 accounting::ContinuousSpaceBitmap* mark_bitmap) 81 virtual accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() { in GetSweepCallback()
|
D | zygote_space.cc | 43 accounting::ContinuousSpaceBitmap* live_bitmap, in Create() 44 accounting::ContinuousSpaceBitmap* mark_bitmap) { in Create() 109 accounting::CardTable* card_table = Runtime::Current()->GetHeap()->GetCardTable(); in SweepCallback() 113 accounting::ContinuousSpaceBitmap* bitmap = zygote_space->GetLiveBitmap(); in SweepCallback()
|
D | malloc_space.cc | 48 static const uintptr_t kGcCardSize = static_cast<uintptr_t>(accounting::CardTable::kCardSize); in MallocSpace() 51 live_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in MallocSpace() 56 mark_bitmap_.reset(accounting::ContinuousSpaceBitmap::Create( in MallocSpace() 167 DCHECK(IsAligned<accounting::CardTable::kCardSize>(begin_)); in CreateZygoteSpace() 168 DCHECK(IsAligned<accounting::CardTable::kCardSize>(End())); in CreateZygoteSpace() 238 accounting::ContinuousSpaceBitmap* bitmap = space->GetLiveBitmap(); in SweepCallback()
|
D | bump_pointer_space.h | 93 accounting::ContinuousSpaceBitmap* GetLiveBitmap() const OVERRIDE { in GetLiveBitmap() 97 accounting::ContinuousSpaceBitmap* GetMarkBitmap() const OVERRIDE { in GetMarkBitmap() 146 accounting::ContinuousSpaceBitmap::SweepCallback* GetSweepCallback() OVERRIDE;
|
/art/runtime/gc/accounting/ |
D | card_table_test.cc | 38 std::unique_ptr<gc::accounting::CardTable> card_table_; 39 static constexpr size_t kCardSize = gc::accounting::CardTable::kCardSize; 43 card_table_.reset(gc::accounting::CardTable::Create(heap_begin_, heap_size_)); in CommonSetup() 82 EXPECT_EQ(card_table_->GetCard(obj), gc::accounting::CardTable::kCardClean); in TEST_F() 86 EXPECT_EQ(card_table_->GetCard(obj), gc::accounting::CardTable::kCardDirty); in TEST_F() 88 EXPECT_EQ(*card_addr, gc::accounting::CardTable::kCardDirty); in TEST_F() 89 *card_addr = gc::accounting::CardTable::kCardClean; in TEST_F() 90 EXPECT_EQ(*card_addr, gc::accounting::CardTable::kCardClean); in TEST_F()
|
D | heap_bitmap.cc | 24 namespace accounting { namespace 43 void HeapBitmap::AddContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in AddContinuousSpaceBitmap() 55 void HeapBitmap::RemoveContinuousSpaceBitmap(accounting::ContinuousSpaceBitmap* bitmap) { in RemoveContinuousSpaceBitmap()
|
D | mod_union_table-inl.h | 26 namespace accounting {
|
D | remembered_set.h | 40 namespace accounting {
|
/art/runtime/gc/ |
D | heap.h | 61 namespace accounting { 96 if (card == accounting::CardTable::kCardDirty) { in operator() 390 accounting::CardTable* GetCardTable() const { in GetCardTable() 476 accounting::HeapBitmap* GetLiveBitmap() SHARED_LOCKS_REQUIRED(Locks::heap_bitmap_lock_) { in GetLiveBitmap() 480 accounting::HeapBitmap* GetMarkBitmap() SHARED_LOCKS_REQUIRED(Locks::heap_bitmap_lock_) { in GetMarkBitmap() 484 accounting::ObjectStack* GetLiveStack() SHARED_LOCKS_REQUIRED(Locks::heap_bitmap_lock_) { in GetLiveStack() 501 void MarkAllocStack(accounting::SpaceBitmap<kObjectAlignment>* bitmap1, 502 accounting::SpaceBitmap<kObjectAlignment>* bitmap2, 503 accounting::SpaceBitmap<kLargeObjectAlignment>* large_objects, 504 accounting::ObjectStack* stack) [all …]
|
D | heap.cc | 217 live_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap() 218 mark_bitmap_.reset(new accounting::HeapBitmap(this)); in Heap() 380 card_table_.reset(accounting::CardTable::Create(heap_begin, heap_capacity)); in Heap() 384 accounting::ModUnionTable* mod_union_table = in Heap() 385 new accounting::ModUnionTableToZygoteAllocspace("Image mod-union table", this, in Heap() 390 accounting::RememberedSet* non_moving_space_rem_set = in Heap() 391 new accounting::RememberedSet("Non-moving space remembered set", this, non_moving_space_); in Heap() 397 mark_stack_.reset(accounting::ObjectStack::Create("mark stack", kDefaultMarkStackSize, in Heap() 400 allocation_stack_.reset(accounting::ObjectStack::Create( in Heap() 402 live_stack_.reset(accounting::ObjectStack::Create( in Heap() [all …]
|
D | heap_test.cc | 67 std::unique_ptr<accounting::ContinuousSpaceBitmap> bitmap( in TEST_F() 68 accounting::ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F()
|
/art/runtime/gc/collector/ |
D | garbage_collector.cc | 114 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in SwapBitmaps() 115 accounting::ContinuousSpaceBitmap* mark_bitmap = space->GetMarkBitmap(); in SwapBitmaps() 126 accounting::LargeObjectBitmap* live_set = space->GetLiveBitmap(); in SwapBitmaps() 127 accounting::LargeObjectBitmap* mark_set = space->GetMarkBitmap(); in SwapBitmaps()
|
D | mark_sweep.cc | 188 RecursiveMarkDirtyObjects(true, accounting::CardTable::kCardDirty); in PausePhase() 235 RecursiveMarkDirtyObjects(false, accounting::CardTable::kCardDirty - 1); in PreCleanCards() 269 accounting::ModUnionTable* mod_union_table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() 305 accounting::ContinuousSpaceBitmap* bitmap = space->GetMarkBitmap(); in FindDefaultSpaceBitmap() 442 accounting::ContinuousSpaceBitmap* object_bitmap = current_space_bitmap_; in MarkObjectParallel() 683 accounting::ContinuousSpaceBitmap* bitmap, in CardScanTask() 694 accounting::ContinuousSpaceBitmap* const bitmap_; 705 accounting::CardTable* card_table = mark_sweep_->GetHeap()->GetCardTable(); in Run() 726 accounting::CardTable* card_table = GetHeap()->GetCardTable(); in ScanGrayObjects() 753 card_end = AlignUp(card_end, accounting::CardTable::kCardSize); in ScanGrayObjects() [all …]
|
D | mark_compact.h | 47 namespace accounting { 215 accounting::ObjectStack* mark_stack_; 223 accounting::HeapBitmap* mark_bitmap_; 235 std::unique_ptr<accounting::ContinuousSpaceBitmap> objects_before_forwarding_; 237 std::unique_ptr<accounting::ContinuousSpaceBitmap> objects_with_lockword_;
|
D | semi_space.h | 46 namespace accounting { 205 accounting::ObjectStack* mark_stack_; 217 accounting::ContinuousSpaceBitmap* to_space_live_bitmap_; 220 accounting::HeapBitmap* mark_bitmap_;
|
D | semi_space.cc | 315 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects() 321 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in MarkReachableObjects() 339 accounting::RememberedSet* rem_set = GetHeap()->FindRememberedSetFromSpace(space); in MarkReachableObjects() 350 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() 358 accounting::ContinuousSpaceBitmap* live_bitmap = space->GetLiveBitmap(); in MarkReachableObjects() 381 accounting::LargeObjectBitmap* large_live_bitmap = large_object_space->GetLiveBitmap(); in MarkReachableObjects() 502 accounting::ContinuousSpaceBitmap* live_bitmap = promo_dest_space_->GetLiveBitmap(); in MarkNonForwardedObject() 504 accounting::ContinuousSpaceBitmap* mark_bitmap = promo_dest_space_->GetMarkBitmap(); in MarkNonForwardedObject() 547 accounting::ContinuousSpaceBitmap* bitmap = fallback_space_->GetLiveBitmap(); in MarkNonForwardedObject() 699 accounting::ContinuousSpaceBitmap* live_bitmap = nullptr; in ProcessMarkStack() [all …]
|
D | mark_sweep.h | 48 namespace accounting { 145 void SweepArray(accounting::ObjectStack* allocation_stack_, bool swap_bitmaps) 281 accounting::ContinuousSpaceBitmap* current_space_bitmap_; 283 accounting::HeapBitmap* mark_bitmap_; 285 accounting::ObjectStack* mark_stack_;
|
D | mark_compact.cc | 190 objects_before_forwarding_.reset(accounting::ContinuousSpaceBitmap::Create( in MarkingPhase() 193 objects_with_lockword_.reset(accounting::ContinuousSpaceBitmap::Create( in MarkingPhase() 239 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in UpdateAndMarkModUnion() 253 accounting::ObjectStack* live_stack = heap_->GetLiveStack(); in MarkReachableObjects() 346 accounting::ModUnionTable* table = heap_->FindModUnionTableFromSpace(space); in UpdateReferences() 357 accounting::ContinuousSpaceBitmap* bitmap = space->GetLiveBitmap(); in UpdateReferences()
|
D | sticky_mark_sweep.cc | 55 RecursiveMarkDirtyObjects(false, accounting::CardTable::kCardDirty - 1); in MarkReachableObjects()
|
/art/patchoat/ |
D | patchoat.h | 64 PatchOat(InstructionSet isa, MemMap* image, gc::accounting::ContinuousSpaceBitmap* bitmap, in PatchOat() 69 gc::accounting::ContinuousSpaceBitmap* bitmap, MemMap* heap, off_t delta, in PatchOat() 146 gc::accounting::ContinuousSpaceBitmap* bitmap_;
|
/art/compiler/llvm/ |
D | runtime_support_builder.cc | 191 irb_.getPtrEquivInt(gc::accounting::CardTable::kCardShift)); in EmitMarkGCCard() 193 irb_.CreateStore(irb_.getInt8(gc::accounting::CardTable::kCardDirty), card_table_entry, in EmitMarkGCCard()
|
/art/runtime/ |
D | Android.mk | 49 gc/accounting/card_table.cc \ 50 gc/accounting/heap_bitmap.cc \ 51 gc/accounting/mod_union_table.cc \ 52 gc/accounting/remembered_set.cc \ 53 gc/accounting/space_bitmap.cc \
|