/art/runtime/gc/space/ |
D | zygote_space.cc | 119 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()
|
D | zygote_space.h | 58 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);
|
D | dlmalloc_space.cc | 240 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()
|
D | rosalloc_space.cc | 272 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()
|
D | malloc_space.cc | 259 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()
|
D | memory_tool_malloc_space-inl.h | 252 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()
|
D | malloc_space.h | 59 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)
|
D | memory_tool_malloc_space.h | 48 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override
|
D | large_object_space.cc | 219 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()
|
D | large_object_space.h | 69 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);
|
D | dlmalloc_space.h | 79 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override
|
D | rosalloc_space.h | 75 size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) override
|
D | space.h | 232 virtual size_t FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) = 0;
|
/art/runtime/gc/allocator/ |
D | rosalloc.h | 855 size_t BulkFree(Thread* self, void** ptrs, size_t num_ptrs)
|
D | rosalloc.cc | 1006 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()
|