Lines Matching refs:kAlignment
30 template<size_t kAlignment>
31 size_t SpaceBitmap<kAlignment>::ComputeBitmapSize(uint64_t capacity) {
32 const uint64_t kBytesCoveredPerWord = kAlignment * kBitsPerWord;
36 template<size_t kAlignment>
37 SpaceBitmap<kAlignment>* SpaceBitmap<kAlignment>::CreateFromMemMap(
45 template<size_t kAlignment>
46 SpaceBitmap<kAlignment>::SpaceBitmap(const std::string& name, MemMap* mem_map, uword* bitmap_begin,
55 template<size_t kAlignment>
56 SpaceBitmap<kAlignment>::~SpaceBitmap() {}
58 template<size_t kAlignment>
59 SpaceBitmap<kAlignment>* SpaceBitmap<kAlignment>::Create(
61 // Round up since heap_capacity is not necessarily a multiple of kAlignment * kBitsPerWord.
73 template<size_t kAlignment>
74 void SpaceBitmap<kAlignment>::SetHeapLimit(uintptr_t new_end) {
75 DCHECK(IsAligned<kBitsPerWord * kAlignment>(new_end));
84 template<size_t kAlignment>
85 std::string SpaceBitmap<kAlignment>::Dump() const {
90 template<size_t kAlignment>
91 void SpaceBitmap<kAlignment>::Clear() {
97 template<size_t kAlignment>
98 void SpaceBitmap<kAlignment>::CopyFrom(SpaceBitmap* source_bitmap) {
103 template<size_t kAlignment>
104 void SpaceBitmap<kAlignment>::Walk(ObjectCallback* callback, void* arg) {
116 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
124 template<size_t kAlignment>
125 void SpaceBitmap<kAlignment>::SweepWalk(const SpaceBitmap<kAlignment>& live_bitmap,
126 const SpaceBitmap<kAlignment>& mark_bitmap,
165 *pb++ = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);
180 template<size_t kAlignment>
181 void SpaceBitmap<kAlignment>::WalkInstanceFields(SpaceBitmap<kAlignment>* visited,
205 template<size_t kAlignment>
206 void SpaceBitmap<kAlignment>::WalkFieldsInOrder(SpaceBitmap<kAlignment>* visited,
245 template<size_t kAlignment>
246 void SpaceBitmap<kAlignment>::InOrderWalk(ObjectCallback* callback, void* arg) {
247 std::unique_ptr<SpaceBitmap<kAlignment>> visited(
260 mirror::Object* obj = reinterpret_cast<mirror::Object*>(ptr_base + shift * kAlignment);