/art/runtime/gc/allocator/ |
D | dlmalloc.cc | 59 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* arg) { in DlmallocMadviseCallback() argument 61 if (used_bytes != 0) { in DlmallocMadviseCallback() 80 void* end ATTRIBUTE_UNUSED, size_t used_bytes, in DlmallocBytesAllocatedCallback() argument 82 if (used_bytes == 0) { in DlmallocBytesAllocatedCallback() 86 *bytes_allocated += used_bytes + sizeof(size_t); in DlmallocBytesAllocatedCallback() 89 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, in DlmallocObjectsAllocatedCallback() argument 93 if (used_bytes == 0) { in DlmallocObjectsAllocatedCallback()
|
D | dlmalloc.h | 47 extern "C" void DlmallocMadviseCallback(void* start, void* end, size_t used_bytes, void* /*arg*/); 52 extern "C" void DlmallocBytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg… 53 extern "C" void DlmallocObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* a…
|
D | rosalloc.h | 252 …void InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void* callback_arg… 605 void InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback_arg), 642 static void BytesAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg); 643 static void ObjectsAllocatedCallback(void* start, void* end, size_t used_bytes, void* arg);
|
D | rosalloc.cc | 1117 void RosAlloc::Run::InspectAllSlots(void (*handler)(void* start, void* end, size_t used_bytes, void… in InspectAllSlots() argument 1547 void RosAlloc::InspectAll(void (*handler)(void* start, void* end, size_t used_bytes, void* callback… in InspectAll() argument 1595 size_t used_bytes = num_pages * kPageSize; in InspectAll() local 1596 handler(start, end, used_bytes, arg); in InspectAll() 1872 size_t used_bytes, void* arg) { in BytesAllocatedCallback() argument 1873 if (used_bytes == 0) { in BytesAllocatedCallback() 1877 *bytes_allocated += used_bytes; in BytesAllocatedCallback() 1881 size_t used_bytes, void* arg) { in ObjectsAllocatedCallback() argument 1882 if (used_bytes == 0) { in ObjectsAllocatedCallback()
|
/art/runtime/gc/space/ |
D | dlmalloc_space.cc | 292 static void MSpaceChunkCallback(void* start, void* end, size_t used_bytes, void* arg) { in MSpaceChunkCallback() argument 294 if (used_bytes < chunk_size) { in MSpaceChunkCallback() 295 size_t chunk_free_bytes = chunk_size - used_bytes; in MSpaceChunkCallback()
|
/art/runtime/ |
D | debugger.cc | 4558 static void HeapChunkJavaCallback(void* start, void* end, size_t used_bytes, void* arg) in HeapChunkJavaCallback() argument 4561 reinterpret_cast<HeapChunkContext*>(arg)->HeapChunkJavaCallback(start, end, used_bytes); in HeapChunkJavaCallback() 4564 static void HeapChunkNativeCallback(void* start, void* end, size_t used_bytes, void* arg) in HeapChunkNativeCallback() argument 4566 reinterpret_cast<HeapChunkContext*>(arg)->HeapChunkNativeCallback(start, end, used_bytes); in HeapChunkNativeCallback() 4585 bool ProcessRecord(void* start, size_t used_bytes) SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) { in ProcessRecord() argument 4588 if (used_bytes == 0) { in ProcessRecord() 4621 void HeapChunkNativeCallback(void* start, void* /*end*/, size_t used_bytes) in HeapChunkNativeCallback() argument 4623 if (ProcessRecord(start, used_bytes)) { in HeapChunkNativeCallback() 4625 AppendChunk(state, start, used_bytes + chunk_overhead_, true /*is_native*/); in HeapChunkNativeCallback() 4626 startOfNextMemoryChunk_ = reinterpret_cast<char*>(start) + used_bytes + chunk_overhead_; in HeapChunkNativeCallback() [all …]
|