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()
79 DCHECK_LE(heap_begin_, visit_begin); in VisitMarkedRange()
82 const uintptr_t offset_start = visit_begin - heap_begin_; in VisitMarkedRange()
83 const uintptr_t offset_end = visit_end - heap_begin_; in VisitMarkedRange()
111 const uintptr_t ptr_base = IndexToOffset(index_start) + heap_begin_; in VisitMarkedRange()
124 const uintptr_t ptr_base = IndexToOffset(i) + heap_begin_; in VisitMarkedRange()
151 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()
99 size_t new_size = OffsetToIndex(new_end - heap_begin_) * sizeof(intptr_t); in SetHeapLimit()
123 uintptr_t begin_offset = reinterpret_cast<uintptr_t>(begin) - heap_begin_; in ClearRange()
124 uintptr_t end_offset = reinterpret_cast<uintptr_t>(end) - heap_begin_; in ClearRange()
127 Clear(reinterpret_cast<mirror::Object*>(heap_begin_ + begin_offset)); in ClearRange()
132 Clear(reinterpret_cast<mirror::Object*>(heap_begin_ + end_offset)); in ClearRange()
159 CHECK_EQ(live_bitmap.heap_begin_, mark_bitmap.heap_begin_); in SweepWalk()
163 CHECK_GE(sweep_begin, live_bitmap.heap_begin_); in SweepWalk()
181 size_t start = OffsetToIndex(sweep_begin - live_bitmap.heap_begin_); in SweepWalk()
182 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.h120 const uintptr_t offset = reinterpret_cast<uintptr_t>(obj) - heap_begin_; in HasAddress()
183 heap_limit_ = heap_begin_ + bytes; in SetHeapSize()
189 return heap_begin_; in HeapBegin()
240 const uintptr_t heap_begin_; variable