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.cc70 heap_begin_(reinterpret_cast<uintptr_t>(heap_begin)), in SpaceBitmap()
102 size_t new_size = OffsetToIndex(new_end - heap_begin_) * sizeof(intptr_t); in SetHeapLimit()
126 uintptr_t begin_offset = reinterpret_cast<uintptr_t>(begin) - heap_begin_; in ClearRange()
127 uintptr_t end_offset = reinterpret_cast<uintptr_t>(end) - heap_begin_; in ClearRange()
130 Clear(reinterpret_cast<mirror::Object*>(heap_begin_ + begin_offset)); in ClearRange()
135 Clear(reinterpret_cast<mirror::Object*>(heap_begin_ + end_offset)); in ClearRange()
162 CHECK_EQ(live_bitmap.heap_begin_, mark_bitmap.heap_begin_); in SweepWalk()
166 CHECK_GE(sweep_begin, live_bitmap.heap_begin_); in SweepWalk()
175 const size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); in SweepWalk()
176 const size_t end = OffsetToIndex(sweep_end - live_bitmap.heap_begin_ - 1); in SweepWalk()
[all …]
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
Dspace_bitmap.h122 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; in HasAddress()
191 heap_limit_ = heap_begin_ + bytes; in SetHeapSize()
197 return heap_begin_; in HeapBegin()
248 const uintptr_t heap_begin_; variable