/art/runtime/gc/space/ |
H A D | rosalloc_space-inl.h | 33 size_t* bytes_allocated, size_t* usable_size, 50 DCHECK(bytes_allocated != nullptr); 51 *bytes_allocated = rosalloc_bytes_allocated; 67 size_t* bytes_allocated) { 68 DCHECK(bytes_allocated != nullptr); 70 rosalloc_->AllocFromThreadLocalRun(self, num_bytes, bytes_allocated)); 32 AllocCommon(Thread* self, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument 66 AllocThreadLocal(Thread* self, size_t num_bytes, size_t* bytes_allocated) argument
|
H A D | dlmalloc_space-inl.h | 29 size_t* bytes_allocated, 35 obj = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size, 56 size_t* bytes_allocated, 66 DCHECK(bytes_allocated != nullptr); 67 *bytes_allocated = allocation_size; 28 AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument 54 AllocWithoutGrowthLocked( Thread* , size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument
|
H A D | bump_pointer_space-inl.h | 28 inline mirror::Object* BumpPointerSpace::Alloc(Thread*, size_t num_bytes, size_t* bytes_allocated, argument 34 *bytes_allocated = num_bytes; 44 size_t* bytes_allocated, 55 *bytes_allocated = num_bytes; 43 AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument
|
H A D | memory_tool_malloc_space.h | 34 mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, 37 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 39 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
H A D | memory_tool_malloc_space-inl.h | 34 size_t bytes_allocated, size_t usable_size, 39 *bytes_allocated_out = bytes_allocated; 65 // Right redzone. Assumes that if bytes_allocated > usable_size, then the difference is 92 size_t bytes_allocated; local 96 &bytes_allocated, &usable_size, 104 bytes_allocated, usable_size, 121 size_t bytes_allocated; local 125 &bytes_allocated, &usable_size, &bytes_tl_bulk_allocated); 132 bytes_allocated, usable_size, 149 size_t bytes_allocated; local 33 AdjustForValgrind(void* obj_with_rdz, size_t num_bytes, size_t bytes_allocated, size_t usable_size, size_t bytes_tl_bulk_allocated, size_t* bytes_allocated_out, size_t* usable_size_out, size_t* bytes_tl_bulk_allocated_out) argument [all...] |
H A D | rosalloc_space.h | 49 mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, 52 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 54 return AllocNonvirtual(self, num_bytes, bytes_allocated, usable_size, 57 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, 60 return AllocNonvirtualThreadUnsafe(self, num_bytes, bytes_allocated, usable_size, 71 mirror::Object* AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated, argument 74 return AllocCommon(self, num_bytes, bytes_allocated, usable_size, 78 size_t* bytes_allocated, size_t* usable_size, 81 return AllocCommon<false>(self, num_bytes, bytes_allocated, usable_size, 91 size_t* bytes_allocated); 77 AllocNonvirtualThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument [all...] |
H A D | region_space-inl.h | 29 /* out */ size_t* bytes_allocated, 33 return AllocNonvirtual<false>(num_bytes, bytes_allocated, usable_size, 39 /* out */ size_t* bytes_allocated, 43 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 48 /* out */ size_t* bytes_allocated, 56 bytes_allocated, 65 bytes_allocated, 73 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 86 obj = AllocLarge<kForEvac>(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 95 /* out */ size_t* bytes_allocated, 27 Alloc(Thread* self ATTRIBUTE_UNUSED, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument 37 AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument 47 AllocNonvirtual(size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument 94 Alloc(size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument 244 AllocLarge(size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument 316 FreeLarge(mirror::Object* large_obj, size_t bytes_allocated) argument [all...] |
H A D | dlmalloc_space.h | 50 virtual mirror::Object* AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, 55 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 58 return AllocNonvirtual(self, num_bytes, bytes_allocated, usable_size, 87 mirror::Object* AllocNonvirtual(Thread* self, size_t num_bytes, size_t* bytes_allocated, 147 mirror::Object* AllocWithoutGrowthLocked(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
H A D | space_test.h | 71 size_t* bytes_allocated, 79 bytes_allocated, 91 size_t* bytes_allocated, 97 mirror::Object* obj = alloc_space->AllocWithGrowth(self, bytes, bytes_allocated, usable_size, 192 size_t bytes_allocated = 0; local 195 object.Assign(Alloc(space, self, alloc_size, &bytes_allocated, nullptr, 198 object.Assign(AllocWithGrowth(space, self, alloc_size, &bytes_allocated, nullptr, 206 EXPECT_EQ(bytes_allocated, allocation_size); 290 size_t bytes_allocated = 0; local 293 large_object.Assign(Alloc(space, self, three_quarters_space, &bytes_allocated, nullpt [all...] |
H A D | malloc_space.h | 47 size_t* bytes_allocated, size_t* usable_size, 50 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
H A D | zygote_space.h | 48 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
H A D | dlmalloc_space.cc | 131 size_t* bytes_allocated, size_t* usable_size, 140 result = AllocWithoutGrowthLocked(self, num_bytes, bytes_allocated, usable_size, 268 size_t bytes_allocated = 0; local 269 mspace_inspect_all(mspace_, DlmallocBytesAllocatedCallback, &bytes_allocated); 270 return bytes_allocated; 130 AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument
|
H A D | rosalloc_space.cc | 157 size_t* bytes_allocated, size_t* usable_size, 166 result = AllocCommon(self, num_bytes, bytes_allocated, usable_size, 292 size_t bytes_allocated = 0; local 293 InspectAllRosAlloc(art::gc::allocator::RosAlloc::BytesAllocatedCallback, &bytes_allocated, false); 294 return bytes_allocated; 156 AllocWithGrowth(Thread* self, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument
|
H A D | region_space.h | 52 /* out */ size_t* bytes_allocated, 59 /* out */ size_t* bytes_allocated, 66 /* out */ size_t* bytes_allocated, 73 /* out */ size_t* bytes_allocated, 77 void FreeLarge(mirror::Object* large_obj, size_t bytes_allocated) REQUIRES(!region_lock_); 328 /* out */ size_t* bytes_allocated,
|
H A D | space.h | 202 // succeeds, the output parameter bytes_allocated will be set to the 208 // 1) equal to bytes_allocated if it's not a thread local allocation, 209 // 2) greater than bytes_allocated if it's a thread local 214 virtual mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 218 virtual mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated, 222 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated);
|
H A D | bump_pointer_space.h | 53 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 56 mirror::Object* AllocThreadUnsafe(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
H A D | large_object_space.cc | 56 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 60 LargeObjectMapSpace::Alloc(self, num_bytes + kMemoryToolRedZoneBytes * 2, bytes_allocated, 138 size_t* bytes_allocated, size_t* usable_size, 151 DCHECK(bytes_allocated != nullptr); 158 *bytes_allocated = allocation_size; 474 mirror::Object* FreeListSpace::Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, argument 508 DCHECK(bytes_allocated != nullptr); 509 *bytes_allocated = allocation_size; 137 Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument
|
H A D | large_object_space.h | 139 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated, 175 mirror::Object* Alloc(Thread* self, size_t num_bytes, size_t* bytes_allocated,
|
H A D | large_object_space_test.cc | 113 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; local 115 mirror::Object* obj = los->Alloc(self, 100 * MB, &bytes_allocated, nullptr,
|
/art/runtime/gc/ |
H A D | heap-inl.h | 79 size_t bytes_allocated; local 93 bytes_allocated = byte_count; 94 usable_size = bytes_allocated; 99 (obj = rosalloc_space_->AllocThreadLocal(self, byte_count, &bytes_allocated)) != nullptr && 106 usable_size = bytes_allocated; 112 obj = TryToAllocate<kInstrumented, false>(self, allocator, byte_count, &bytes_allocated, 121 &bytes_allocated, 138 DCHECK_GT(bytes_allocated, 0u); 175 thread_stats->allocated_bytes += bytes_allocated; 178 global_stats->allocated_bytes += bytes_allocated; 248 TryToAllocate(Thread* self, AllocatorType allocator_type, size_t alloc_size, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument [all...] |
H A D | heap.cc | 1575 size_t* bytes_allocated, 1596 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, 1611 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, 1632 mirror::Object* ptr = TryToAllocate<true, false>(self, allocator, alloc_size, bytes_allocated, 1641 mirror::Object* ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, 1660 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, usable_size, 1681 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, 1735 ptr = TryToAllocate<true, true>(self, allocator, alloc_size, bytes_allocated, 2240 size_t bytes_allocated, dummy; local 2241 forward_address = to_space_->Alloc(self_, alloc_size, &bytes_allocated, nullpt 1571 AllocateInternalWithGc(Thread* self, AllocatorType allocator, bool instrumented, size_t alloc_size, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated, ObjPtr<mirror::Class>* klass) argument 3444 const uint64_t bytes_allocated = GetBytesAllocated(); local 4020 AllocWithNewTLAB(Thread* self, size_t alloc_size, bool grow, size_t* bytes_allocated, size_t* usable_size, size_t* bytes_tl_bulk_allocated) argument [all...] |
/art/runtime/gc/allocator/ |
H A D | rosalloc-inl.h | 31 inline ALWAYS_INLINE void* RosAlloc::Alloc(Thread* self, size_t size, size_t* bytes_allocated, argument 35 return AllocLargeObject(self, size, bytes_allocated, usable_size, 40 m = AllocFromRun(self, size, bytes_allocated, usable_size, bytes_tl_bulk_allocated); 42 m = AllocFromRunThreadUnsafe(self, size, bytes_allocated, usable_size, 79 size_t* bytes_allocated) { 80 DCHECK(bytes_allocated != nullptr); 97 *bytes_allocated = bracket_size; 78 AllocFromThreadLocalRun(Thread* self, size_t size, size_t* bytes_allocated) argument
|
H A D | dlmalloc.cc | 92 size_t* bytes_allocated = reinterpret_cast<size_t*>(arg); local 93 *bytes_allocated += used_bytes + sizeof(size_t);
|
/art/runtime/gc/accounting/ |
H A D | mod_union_table_test.cc | 53 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; local 55 space->Alloc(self, size, &bytes_allocated, nullptr, &bytes_tl_bulk_allocated)); 60 EXPECT_GE(bytes_allocated, size); 82 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; local 83 auto* klass = down_cast<mirror::Class*>(space->Alloc(self, class_size, &bytes_allocated,
|
/art/test/099-vmdebug/src/ |
H A D | Main.java | 184 String bytes_allocated = VMDebug.getRuntimeStat("art.gc.bytes-allocated"); 193 checkNumber(bytes_allocated); 211 String bytes_allocated = map.get("art.gc.bytes-allocated"); 220 checkNumber(bytes_allocated);
|