Lines Matching refs:addr
3162 Atomic<mirror::Object*>* addr = reinterpret_cast<Atomic<mirror::Object*>*>(root); in VisitRoots() local
3166 if (expected_ref != addr->load(std::memory_order_relaxed)) { in VisitRoots()
3170 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in VisitRoots()
3181 auto* addr = reinterpret_cast<Atomic<mirror::CompressedReference<mirror::Object>>*>(root); in MarkRoot() local
3186 if (ref != addr->load(std::memory_order_relaxed).AsMirrorPtr()) { in MarkRoot()
3190 } while (!addr->CompareAndSetWeakRelaxed(expected_ref, new_ref)); in MarkRoot()
3287 uint8_t* addr; in AllocateInSkippedBlock() local
3311 addr = it->second; in AllocateInSkippedBlock()
3313 CHECK(region_space_->IsInToSpace(reinterpret_cast<mirror::Object*>(addr))); in AllocateInSkippedBlock()
3316 LOG(INFO) << "Reusing skipped bytes : " << reinterpret_cast<void*>(addr) << ", " << byte_size; in AllocateInSkippedBlock()
3320 memset(addr, 0, byte_size); in AllocateInSkippedBlock()
3329 reinterpret_cast<mirror::Object*>(addr + alloc_size), in AllocateInSkippedBlock()
3331 CHECK(region_space_->IsInToSpace(reinterpret_cast<mirror::Object*>(addr + alloc_size))); in AllocateInSkippedBlock()
3334 skipped_blocks_map_.insert(std::make_pair(byte_size - alloc_size, addr + alloc_size)); in AllocateInSkippedBlock()
3337 return reinterpret_cast<mirror::Object*>(addr); in AllocateInSkippedBlock()