/art/runtime/gc/allocator/ |
D | dlmalloc.cc | 66 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { in DlmallocMadviseCallback() argument 68 if (used_bytes != 0) { in DlmallocMadviseCallback() 88 size_t used_bytes, in DlmallocBytesAllocatedCallback() argument 90 if (used_bytes == 0) { in DlmallocBytesAllocatedCallback() 94 *bytes_allocated += used_bytes + sizeof(size_t); in DlmallocBytesAllocatedCallback() 99 size_t used_bytes, in DlmallocObjectsAllocatedCallback() argument 101 if (used_bytes == 0) { in DlmallocObjectsAllocatedCallback()
|
D | dlmalloc.h | 41 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* /*arg*/); 46 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg… 47 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* a…
|
D | rosalloc.h | 451 …void InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void* callback_arg… 883 void InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback_arg), 920 static void BytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg); 921 static void ObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
|
D | rosalloc.cc | 967 void RosAlloc::Run::InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void… in InspectAllSlots() argument 1397 void RosAlloc::InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback… in InspectAll() argument 1445 size_t used_bytes = num_pages * kPageSize; in InspectAll() local 1446 handler(start, end, used_bytes, arg); in InspectAll() 1724 size_t used_bytes, void* arg) { in BytesAllocatedCallback() argument 1725 if (used_bytes == 0) { in BytesAllocatedCallback() 1729 *bytes_allocated += used_bytes; in BytesAllocatedCallback() 1733 size_t used_bytes, void* arg) { in ObjectsAllocatedCallback() argument 1734 if (used_bytes == 0) { in ObjectsAllocatedCallback()
|
/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 353 static void MSpaceChunkCallback(void* start, void* end, size_t used_bytes, void* arg) { in MSpaceChunkCallback() argument 355 if (used_bytes < chunk_size) { in MSpaceChunkCallback() 356 size_t chunk_free_bytes = chunk_size - used_bytes; in MSpaceChunkCallback()
|
/art/runtime/ |
D | debugger.cc | 4598 static void HeapChunkJavaCallback(void* start, void* end, size_t used_bytes, void* arg) in HeapChunkJavaCallback() argument 4601 reinterpret_cast<HeapChunkContext*>(arg)->HeapChunkJavaCallback(start, end, used_bytes); in HeapChunkJavaCallback() 4604 static void HeapChunkNativeCallback(void* start, void* end, size_t used_bytes, void* arg) in HeapChunkNativeCallback() argument 4606 reinterpret_cast<HeapChunkContext*>(arg)->HeapChunkNativeCallback(start, end, used_bytes); in HeapChunkNativeCallback() 4625 bool ProcessRecord(void* start, size_t used_bytes) REQUIRES_SHARED(Locks::mutator_lock_) { in ProcessRecord() argument 4628 if (used_bytes == 0) { in ProcessRecord() 4661 void HeapChunkNativeCallback(void* start, void* /*end*/, size_t used_bytes) in HeapChunkNativeCallback() argument 4663 if (ProcessRecord(start, used_bytes)) { in HeapChunkNativeCallback() 4665 AppendChunk(state, start, used_bytes + chunk_overhead_, /*is_native=*/ true); in HeapChunkNativeCallback() 4666 startOfNextMemoryChunk_ = reinterpret_cast<char*>(start) + used_bytes + chunk_overhead_; in HeapChunkNativeCallback() [all …]
|