Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dzygote_space.cc111 void ZygoteSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
121 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
126 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
130 zygote_space->objects_allocated_.fetch_sub(num_ptrs); in SweepCallback()
Dzygote_space.h56 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override;
90 static void SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg);
Ddlmalloc_space.cc240 size_t DlMallocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
245 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
248 if (kPrefetchDuringDlMallocFreeList && i + look_ahead < num_ptrs) { in FreeList()
257 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
264 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
278 mspace_bulk_free(mspace_, reinterpret_cast<void**>(ptrs), num_ptrs); in FreeList()
Drosalloc_space.cc272 size_t RosAllocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
276 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
277 if (kPrefetchDuringRosAllocFreeList && i + kPrefetchLookAhead < num_ptrs) { in FreeList()
287 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
294 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
306 const size_t bytes_freed = rosalloc_->BulkFree(self, reinterpret_cast<void**>(ptrs), num_ptrs); in FreeList()
Dmalloc_space.cc258 void MallocSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
267 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
274 context->freed.objects += num_ptrs; in SweepCallback()
275 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
Dmemory_tool_malloc_space-inl.h252 Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
256 std::sort(ptrs, ptrs + num_ptrs, [](mirror::Object* a, mirror::Object* b) in FreeList()
260 for (size_t i = 0; i < num_ptrs; i++) { in FreeList()
Dmalloc_space.h59 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override
205 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.cc214 size_t LargeObjectSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
216 for (size_t i = 0; i < num_ptrs; ++i) { in FreeList()
594 void LargeObjectSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
603 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
607 context->freed.objects += num_ptrs; in SweepCallback()
608 context->freed.bytes += space->FreeList(self, num_ptrs, ptrs); in SweepCallback()
Dlarge_object_space.h69 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override;
121 static void SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg);
Ddlmalloc_space.h79 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override
Drosalloc_space.h75 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override
Dspace.h232 virtual size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) = 0;
/art/runtime/gc/allocator/
Drosalloc.h854 size_t BulkFree(Thread* self, void** ptrs, size_t num_ptrs)
Drosalloc.cc1006 size_t RosAlloc::BulkFree(Thread* self, void** ptrs, size_t num_ptrs) { in BulkFree() argument
1010 for (size_t i = 0; i < num_ptrs; ++i) { in BulkFree()
1025 for (size_t i = 0; i < num_ptrs; i++) { in BulkFree()