/art/runtime/gc/space/ |
D | zygote_space.cc | 117 void ZygoteSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument 127 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback() 132 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback() 136 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 | 290 size_t DlMallocSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument 295 for (size_t i = 0; i < num_ptrs; i++) { in FreeList() 298 if (kPrefetchDuringDlMallocFreeList && i + look_ahead < num_ptrs) { in FreeList() 307 for (size_t i = 0; i < num_ptrs; i++) { in FreeList() 314 for (size_t i = 0; i < num_ptrs; i++) { in FreeList() 328 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 | 224 size_t LargeObjectSpace::FreeList(Thread* self, size_t num_ptrs, mirror::Object** ptrs) { in FreeList() argument 226 for (size_t i = 0; i < num_ptrs; ++i) { in FreeList() 643 void LargeObjectSpace::SweepCallback(size_t num_ptrs, mirror::Object** ptrs, void* arg) { in SweepCallback() argument 652 for (size_t i = 0; i < num_ptrs; ++i) { in SweepCallback() 656 context->freed.objects += num_ptrs; in SweepCallback() 657 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; 134 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 | 857 size_t BulkFree(Thread* self, void** ptrs, size_t num_ptrs)
|
D | rosalloc.cc | 1003 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()
|