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.cc235 void MallocSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
244 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
251 context->freed.objects += num_ptrs; in SweepCallback()
252 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.cc210 size_t LargeObjectSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
212 for (size_t i = 0; i < num_ptrs; ++i) { in FreeList()
571 void LargeObjectSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
580 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
584 context->freed.objects += num_ptrs; in SweepCallback()
585 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
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()
Dlarge_object_space.h63 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) OVERRIDE;
113 static void SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg);
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.cc1003 size_t RosAlloc::BulkFree(Thread* self, void** ptrs, size_t num_ptrs) { in BulkFree() argument
1007 for (size_t i = 0; i < num_ptrs; ++i) { in BulkFree()
1022 for (size_t i = 0; i < num_ptrs; i++) { in BulkFree()