Home
last modified time | relevance | path

Searched refs:used_bytes (Results 1 – 6 of 6) sorted by relevance

/art/runtime/gc/allocator/
Ddlmalloc.cc59 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()
Ddlmalloc.h47 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…
Drosalloc.h252 …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);
Drosalloc.cc1117 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/
Ddlmalloc_space.cc292 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/
Ddebugger.cc4558 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 …]