Home
last modified time | relevance | path

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

/art/runtime/gc/space/
Dzygote_space.cc119 void ZygoteSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
129 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
134 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
138 zygote_space->objects_allocated_.fetch_sub(num_ptrs); in SweepCallback()
Dzygote_space.h58 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override;
92 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.cc259 void MallocSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
268 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
275 context->freed.objects += num_ptrs; in SweepCallback()
276 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.cc219 size_t LargeObjectSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument
221 for (size_t i = 0; i < num_ptrs; ++i) { in FreeList()
608 void LargeObjectSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument
617 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback()
621 context->freed.objects += num_ptrs; in SweepCallback()
622 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;
122 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.h855 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()