/art/runtime/gc/allocator/ |
D | dlmalloc.cc | 65 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { in DlmallocMadviseCallback() argument 67 if (used_bytes != 0) { in DlmallocMadviseCallback() 87 size_t used_bytes, in DlmallocBytesAllocatedCallback() argument 89 if (used_bytes == 0) { in DlmallocBytesAllocatedCallback() 93 *bytes_allocated += used_bytes + sizeof(size_t); in DlmallocBytesAllocatedCallback() 98 size_t used_bytes, in DlmallocObjectsAllocatedCallback() argument 100 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 | 452 …void InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void* callback_arg… 884 void InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback_arg), 921 static void BytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg); 922 static void ObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
|
D | rosalloc.cc | 965 void RosAlloc::Run::InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void… in InspectAllSlots() argument 1396 void RosAlloc::InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback… in InspectAll() argument 1444 size_t used_bytes = num_pages * kPageSize; in InspectAll() local 1445 handler(start, end, used_bytes, arg); in InspectAll() 1723 size_t used_bytes, void* arg) { in BytesAllocatedCallback() argument 1724 if (used_bytes == 0) { in BytesAllocatedCallback() 1728 *bytes_allocated += used_bytes; in BytesAllocatedCallback() 1732 size_t used_bytes, void* arg) { in ObjectsAllocatedCallback() argument 1733 if (used_bytes == 0) { in ObjectsAllocatedCallback()
|
/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 296 static void MSpaceChunkCallback(void* start, void* end, size_t used_bytes, void* arg) { in MSpaceChunkCallback() argument 298 if (used_bytes < chunk_size) { in MSpaceChunkCallback() 299 size_t chunk_free_bytes = chunk_size - used_bytes; in MSpaceChunkCallback()
|
/art/runtime/ |
D | debugger.cc | 4740 static void HeapChunkJavaCallback(void* start, void* end, size_t used_bytes, void* arg) in HeapChunkJavaCallback() argument 4743 reinterpret_cast<HeapChunkContext*>(arg)->HeapChunkJavaCallback(start, end, used_bytes); in HeapChunkJavaCallback() 4746 static void HeapChunkNativeCallback(void* start, void* end, size_t used_bytes, void* arg) in HeapChunkNativeCallback() argument 4748 reinterpret_cast<HeapChunkContext*>(arg)->HeapChunkNativeCallback(start, end, used_bytes); in HeapChunkNativeCallback() 4767 bool ProcessRecord(void* start, size_t used_bytes) REQUIRES_SHARED(Locks::mutator_lock_) { in ProcessRecord() argument 4770 if (used_bytes == 0) { in ProcessRecord() 4803 void HeapChunkNativeCallback(void* start, void* /*end*/, size_t used_bytes) in HeapChunkNativeCallback() argument 4805 if (ProcessRecord(start, used_bytes)) { in HeapChunkNativeCallback() 4807 AppendChunk(state, start, used_bytes + chunk_overhead_, true /*is_native*/); in HeapChunkNativeCallback() 4808 startOfNextMemoryChunk_ = reinterpret_cast<char*>(start) + used_bytes + chunk_overhead_; in HeapChunkNativeCallback() [all …]
|