Home
last modified time | relevance | path

Searched refs:heap_begin_ (Results 1 – 4 of 4) sorted by relevance

/art/runtime/gc/accounting/
Dspace_bitmap-inl.h36 DCHECK_GE(addr, heap_begin_); in AtomicTestAndSet()
37 const uintptr_t offset = addr - heap_begin_; in AtomicTestAndSet()
60 DCHECK_GE(addr, heap_begin_); in Test()
61 const uintptr_t offset = addr - heap_begin_; in Test()
80 DCHECK_LE(heap_begin_, visit_begin); in VisitMarkedRange()
83 const uintptr_t offset_start = visit_begin - heap_begin_; in VisitMarkedRange()
84 const uintptr_t offset_end = visit_end - heap_begin_; in VisitMarkedRange()
112 const uintptr_t ptr_base = IndexToOffset(index_start) + heap_begin_; in VisitMarkedRange()
125 const uintptr_t ptr_base = IndexToOffset(i) + heap_begin_; in VisitMarkedRange()
152 const uintptr_t ptr_base = IndexToOffset(index_end) + heap_begin_; in VisitMarkedRange()
[all …]
Dspace_bitmap.cc69 heap_begin_(reinterpret_cast<uintptr_t>(heap_begin)), in SpaceBitmap()
101 size_t new_size = OffsetToIndex(new_end - heap_begin_) * sizeof(intptr_t); in SetHeapLimit()
125 uintptr_t begin_offset = reinterpret_cast<uintptr_t>(begin) - heap_begin_; in ClearRange()
126 uintptr_t end_offset = reinterpret_cast<uintptr_t>(end) - heap_begin_; in ClearRange()
129 Clear(reinterpret_cast<mirror::Object*>(heap_begin_ + begin_offset)); in ClearRange()
134 Clear(reinterpret_cast<mirror::Object*>(heap_begin_ + end_offset)); in ClearRange()
161 CHECK_EQ(live_bitmap.heap_begin_, mark_bitmap.heap_begin_); in SweepWalk()
165 CHECK_GE(sweep_begin, live_bitmap.heap_begin_); in SweepWalk()
174 const size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); in SweepWalk()
175 const size_t end = OffsetToIndex(sweep_end - live_bitmap.heap_begin_ - 1); in SweepWalk()
[all …]
Dspace_bitmap.h122 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; in HasAddress()
178 heap_limit_ = heap_begin_ + bytes; in SetHeapSize()
184 return heap_begin_; in HeapBegin()
224 heap_begin_ = other.heap_begin_; in CopyView()
255 uintptr_t heap_begin_ = 0u; variable
Dcard_table_test.cc45 card_table_.reset(CardTable::Create(heap_begin_, heap_size_)); in CommonSetup()
52 CardTableTest() : heap_begin_(reinterpret_cast<uint8_t*>(0x2000000)), heap_size_(2 * MB) { in CardTableTest()
58 return heap_begin_; in HeapBegin()
65 size_t offset = RoundDown(addr - heap_begin_, CardTable::kCardSize); in PseudoRandomCard()
77 uint8_t* const heap_begin_; member in art::gc::accounting::CardTableTest