Home
last modified time | relevance | path

Searched refs:num_ptrs (Results 1 – 15 of 15) sorted by relevance

/art/runtime/gc/space/
Dzygote_space.cc104 void ZygoteSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
114 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
119 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
123 zygote_space->objects_allocated_.FetchAndSubSequentiallyConsistent(num_ptrs); in SweepCallback()
Dzygote_space.h55 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) OVERRIDE;
89 static void SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg);
Ddlmalloc_space.cc181 size_t DlMallocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
186 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
189 if (kPrefetchDuringDlMallocFreeList && i + look_ahead < num_ptrs) { in FreeList()
198 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
205 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
219 mspace_bulk_free(mspace_, reinterpret_cast<void**>(ptrs), num_ptrs); in FreeList()
Drosalloc_space.cc203 size_t RosAllocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
207 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
208 if (kPrefetchDuringRosAllocFreeList && i + kPrefetchLookAhead < num_ptrs) { in FreeList()
218 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
225 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
237 const size_t bytes_freed = rosalloc_->BulkFree(self, reinterpret_cast<void**>(ptrs), num_ptrs); in FreeList()
Dmalloc_space.cc231 void MallocSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
240 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
247 context->freed.objects += num_ptrs; in SweepCallback()
248 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
Dmalloc_space.h67 virtual size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs)
198 static void SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg)
Dmemory_tool_malloc_space.h48 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) OVERRIDE
Dlarge_object_space.cc220 size_t LargeObjectSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
222 for (size_t i = 0; i < num_ptrs; ++i) { in FreeList()
581 void LargeObjectSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
590 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
594 context->freed.objects += num_ptrs; in SweepCallback()
595 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
Dlarge_object_space.h63 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) OVERRIDE;
109 static void SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg);
Dmemory_tool_malloc_space-inl.h224 Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
226 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
Ddlmalloc_space.h70 virtual size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) OVERRIDE
Drosalloc_space.h68 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) OVERRIDE
Dspace.h233 virtual size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) = 0;
/art/runtime/gc/allocator/
Drosalloc.h851 size_t BulkFree(Thread* self, void** ptrs, size_t num_ptrs)
Drosalloc.cc1010 size_t RosAlloc::BulkFree(Thread* self, void** ptrs, size_t num_ptrs) { in BulkFree() argument
1014 for (size_t i = 0; i < num_ptrs; ++i) { in BulkFree()
1029 for (size_t i = 0; i < num_ptrs; i++) { in BulkFree()