/art/runtime/gc/allocator/ |
rosalloc-inl.h | 27 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated) { 29 return AllocLargeObject(self, size, bytes_allocated); 33 m = AllocFromRun(self, size, bytes_allocated); 35 m = AllocFromRunThreadUnsafe(self, size, bytes_allocated);
|
dlmalloc.cc | 77 size_t* bytes_allocated = reinterpret_cast<size_t*>(arg); local 78 *bytes_allocated += used_bytes + sizeof(size_t);
|
rosalloc.h | 491 void* AllocFromRun(Thread* self, size_t size, size_t* bytes_allocated) 495 void* AllocFromRunThreadUnsafe(Thread* self, size_t size, size_t* bytes_allocated) 514 void* AllocLargeObject(Thread* self, size_t size, size_t* bytes_allocated) LOCKS_EXCLUDED(lock_); 533 void* Alloc(Thread* self, size_t size, size_t* bytes_allocated)
|
/external/chromium_org/cc/resources/ |
memory_history.h | 25 bytes_allocated(0), 30 size_t bytes_allocated; member in struct:cc::MemoryHistory::Entry 34 return bytes_allocated + bytes_unreleasable + bytes_over;
|
/external/chromium_org/content/public/common/ |
gpu_memory_stats.cc | 10 : bytes_allocated(0),
|
gpu_memory_stats.h | 41 size_t bytes_allocated; member in struct:content::GPUVideoMemoryUsageStats
|
/art/runtime/gc/space/ |
dlmalloc_space-inl.h | 29 size_t* bytes_allocated, 34 obj = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size); 53 size_t* bytes_allocated, 62 DCHECK(bytes_allocated != NULL); 63 *bytes_allocated = allocation_size;
|
bump_pointer_space-inl.h | 26 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, 31 *bytes_allocated = num_bytes; 40 size_t* bytes_allocated, 50 *bytes_allocated = num_bytes;
|
rosalloc_space-inl.h | 51 size_t* bytes_allocated, size_t* usable_size) { 63 DCHECK(bytes_allocated != NULL); 64 *bytes_allocated = rosalloc_size;
|
rosalloc_space.h | 49 mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, 51 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 53 return AllocNonvirtual(self, num_bytes, bytes_allocated, usable_size); 55 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, 58 return AllocNonvirtualThreadUnsafe(self, num_bytes, bytes_allocated, usable_size); 68 mirror::Object* AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated, 71 return AllocCommon(self, num_bytes, bytes_allocated, usable_size); 74 size_t* bytes_allocated, size_t* usable_size) { 76 return AllocCommon<false>(self, num_bytes, bytes_allocated, usable_size); 134 mirror::Object* AllocCommon(Thread* self, size_t num_bytes, size_t* bytes_allocated, [all...] |
valgrind_malloc_space.h | 33 mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, 35 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
dlmalloc_space.h | 50 virtual mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, 53 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 55 return AllocNonvirtual(self, num_bytes, bytes_allocated, usable_size); 77 mirror::Object* AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated, 136 mirror::Object* AllocWithoutGrowthLocked(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
valgrind_malloc_space-inl.h | 34 size_t* bytes_allocated, 37 bytes_allocated, usable_size); 51 size_t* bytes_allocated, 53 void* obj_with_rdz = S::Alloc(self, num_bytes + 2 * kValgrindRedZoneBytes, bytes_allocated,
|
zygote_space.h | 48 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
bump_pointer_space.h | 49 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 52 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
large_object_space.cc | 40 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 43 LargeObjectMapSpace::Alloc(self, num_bytes + kValgrindRedZoneBytes * 2, bytes_allocated, 111 size_t* bytes_allocated, size_t* usable_size) { 124 DCHECK(bytes_allocated != nullptr); 130 *bytes_allocated = allocation_size; 409 mirror::Object* FreeListSpace::Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 443 DCHECK(bytes_allocated != nullptr); 444 *bytes_allocated = allocation_size;
|
large_object_space_test.cc | 86 size_t bytes_allocated = 0; local 88 mirror::Object* obj = los->Alloc(Thread::Current(), 100 * MB, &bytes_allocated, nullptr);
|
malloc_space.h | 58 size_t* bytes_allocated, size_t* usable_size) = 0; 60 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
space.h | 196 // succeeds, the output parameter bytes_allocated will be set to the 199 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 203 virtual mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, 206 return Alloc(self, num_bytes, bytes_allocated, usable_size);
|
dlmalloc_space.cc | 129 size_t* bytes_allocated, size_t* usable_size) { 137 result = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size); 279 size_t bytes_allocated = 0; local 280 mspace_inspect_all(mspace_, DlmallocBytesAllocatedCallback, &bytes_allocated); 281 return bytes_allocated;
|
rosalloc_space.cc | 147 size_t* bytes_allocated, size_t* usable_size) { 155 result = AllocCommon(self, num_bytes, bytes_allocated, usable_size); 279 size_t bytes_allocated = 0; local 280 InspectAllRosAlloc(art::gc::allocator::RosAlloc::BytesAllocatedCallback, &bytes_allocated, false); 281 return bytes_allocated;
|
space_test.h | 64 size_t* bytes_allocated, size_t* usable_size) 68 mirror::Object* obj = alloc_space->Alloc(self, bytes, bytes_allocated, usable_size); 76 size_t* bytes_allocated, size_t* usable_size) 80 mirror::Object* obj = alloc_space->AllocWithGrowth(self, bytes, bytes_allocated, usable_size); 424 size_t bytes_allocated = 0; local 426 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr)); 428 object.Assign(AllocWithGrowth(space, self, alloc_size, &bytes_allocated, nullptr)); 435 EXPECT_EQ(bytes_allocated, allocation_size); 517 size_t bytes_allocated = 0; local 519 large_object.Assign(Alloc(space, self, three_quarters_space, &bytes_allocated, nullptr)) [all...] |
large_object_space.h | 120 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 149 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
/art/runtime/gc/ |
heap-inl.h | 66 size_t bytes_allocated; local 83 bytes_allocated = byte_count; 84 usable_size = bytes_allocated; 88 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated, 92 obj = AllocateInternalWithGc(self, allocator, byte_count, &bytes_allocated, &usable_size, 105 DCHECK_GT(bytes_allocated, 0u); 128 static_cast<size_t>(num_bytes_allocated_.FetchAndAddSequentiallyConsistent(bytes_allocated)) 129 + bytes_allocated; 139 thread_stats->allocated_bytes += bytes_allocated; 142 global_stats->allocated_bytes += bytes_allocated; [all...] |
/art/compiler/utils/ |
arena_allocator.cc | 96 const size_t bytes_allocated = BytesAllocated(); local 97 os << " MEM: used: " << bytes_allocated << ", allocated: " << malloc_bytes 102 << num_allocations << ", avg size: " << bytes_allocated / num_allocations << "\n";
|