Home | History | Annotate | Download | only in space

Lines Matching refs:ptrs

186 size_t RosAllocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) {
187 DCHECK(ptrs != nullptr);
192 __builtin_prefetch(reinterpret_cast<char*>(ptrs[i + kPrefetchLookAhead]));
195 verify_bytes += AllocationSizeNonvirtual(ptrs[i], nullptr);
202 RegisterRecentFree(ptrs[i]);
209 if (!Contains(ptrs[i])) {
211 LOG(ERROR) << "FreeList[" << i << "] (" << ptrs[i] << ") not in bounds of heap " << *this;
213 size_t size = rosalloc_->UsableSize(ptrs[i]);
214 memset(ptrs[i], 0xEF, size);
220 const size_t bytes_freed = rosalloc_->BulkFree(self, reinterpret_cast<void**>(ptrs), num_ptrs);