/art/runtime/gc/space/ |
D | zygote_space.cc | 111 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()
|
D | zygote_space.h | 56 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);
|
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 | 258 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()
|
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 | 214 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()
|
D | large_object_space.h | 69 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);
|
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 | 854 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()
|