/art/runtime/gc/ |
D | heap-inl.h | 89 size_t bytes_tl_bulk_allocated = 0u; in AllocObjectWithAllocator() local 144 &usable_size, &bytes_tl_bulk_allocated); in AllocObjectWithAllocator() 155 &bytes_tl_bulk_allocated, in AllocObjectWithAllocator() 194 if (bytes_tl_bulk_allocated > 0) { in AllocObjectWithAllocator() 196 size_t num_bytes_allocated_before = AddBytesAllocated(bytes_tl_bulk_allocated); in AllocObjectWithAllocator() 197 new_num_bytes_allocated = num_bytes_allocated_before + bytes_tl_bulk_allocated; in AllocObjectWithAllocator() 215 GetMetrics()->TotalBytesAllocated()->Add(bytes_tl_bulk_allocated); in AllocObjectWithAllocator() 216 GetMetrics()->TotalBytesAllocatedDelta()->Add(bytes_tl_bulk_allocated); in AllocObjectWithAllocator() 306 size_t* bytes_tl_bulk_allocated) { in TryToAllocate() argument 322 *bytes_tl_bulk_allocated = alloc_size; in TryToAllocate() [all …]
|
/art/runtime/gc/space/ |
D | memory_tool_malloc_space-inl.h | 37 size_t bytes_tl_bulk_allocated, in AdjustForMemoryTool() argument 45 *bytes_tl_bulk_allocated_out = bytes_tl_bulk_allocated; in AdjustForMemoryTool() 100 size_t bytes_tl_bulk_allocated; in AllocWithGrowth() local 105 &bytes_tl_bulk_allocated); in AllocWithGrowth() 115 bytes_tl_bulk_allocated, in AllocWithGrowth() 136 size_t bytes_tl_bulk_allocated; in Alloc() local 141 &bytes_tl_bulk_allocated); in Alloc() 151 bytes_tl_bulk_allocated, in Alloc() 172 size_t bytes_tl_bulk_allocated; in AllocThreadUnsafe() local 177 &bytes_tl_bulk_allocated); in AllocThreadUnsafe() [all …]
|
D | rosalloc_space.h | 57 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 60 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override { in Alloc() argument 62 bytes_tl_bulk_allocated); in Alloc() 65 size_t* usable_size, size_t* bytes_tl_bulk_allocated) in AllocThreadUnsafe() argument 68 bytes_tl_bulk_allocated); in AllocThreadUnsafe() 79 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocNonvirtual() argument 82 bytes_tl_bulk_allocated); in AllocNonvirtual() 86 size_t* bytes_tl_bulk_allocated) { in AllocNonvirtualThreadUnsafe() argument 89 bytes_tl_bulk_allocated); in AllocNonvirtualThreadUnsafe() 177 size_t* usable_size, size_t* bytes_tl_bulk_allocated);
|
D | dlmalloc_space-inl.h | 31 size_t* bytes_tl_bulk_allocated) { in AllocNonvirtual() argument 36 bytes_tl_bulk_allocated); in AllocNonvirtual() 58 size_t* bytes_tl_bulk_allocated) { in AllocWithoutGrowthLocked() argument 68 *bytes_tl_bulk_allocated = allocation_size; in AllocWithoutGrowthLocked()
|
D | region_space-inl.h | 33 /* out */ size_t* bytes_tl_bulk_allocated) { in Alloc() argument 36 bytes_tl_bulk_allocated); in Alloc() 43 /* out */ size_t* bytes_tl_bulk_allocated) { in AllocThreadUnsafe() argument 45 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocThreadUnsafe() 52 /* out */ size_t* bytes_tl_bulk_allocated) { in AllocNonvirtual() argument 60 bytes_tl_bulk_allocated); in AllocNonvirtual() 70 bytes_tl_bulk_allocated); in AllocNonvirtual() 76 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual() 89 obj = AllocLarge<kForEvac>(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual() 100 /* out */ size_t* bytes_tl_bulk_allocated) { in Alloc() argument [all …]
|
D | large_object_space_test.cc | 62 size_t bytes_tl_bulk_allocated; in LargeObjectTest() local 64 &bytes_tl_bulk_allocated); in LargeObjectTest() 68 ASSERT_EQ(allocation_size, bytes_tl_bulk_allocated); in LargeObjectTest() 113 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; in LargeObjectTest() local 116 &bytes_tl_bulk_allocated); in LargeObjectTest() 133 size_t alloc_size, bytes_tl_bulk_allocated; in Run() local 135 &bytes_tl_bulk_allocated); in Run()
|
D | bump_pointer_space-inl.h | 31 size_t* bytes_tl_bulk_allocated) { in Alloc() argument 39 *bytes_tl_bulk_allocated = num_bytes; in Alloc() 47 size_t* bytes_tl_bulk_allocated) { in AllocThreadUnsafe() argument 65 *bytes_tl_bulk_allocated = num_bytes; in AllocThreadUnsafe()
|
D | space_test.h | 72 size_t* bytes_tl_bulk_allocated) in Alloc() argument 80 bytes_tl_bulk_allocated); in Alloc() 92 size_t* bytes_tl_bulk_allocated) in AllocWithGrowth() argument 97 bytes_tl_bulk_allocated); in AllocWithGrowth() 194 size_t bytes_tl_bulk_allocated; in SizeFootPrintGrowthLimitAndTrimBody() local 197 &bytes_tl_bulk_allocated)); in SizeFootPrintGrowthLimitAndTrimBody() 200 &bytes_tl_bulk_allocated)); in SizeFootPrintGrowthLimitAndTrimBody() 213 EXPECT_TRUE(bytes_tl_bulk_allocated == 0 || in SizeFootPrintGrowthLimitAndTrimBody() 214 bytes_tl_bulk_allocated >= allocation_size); in SizeFootPrintGrowthLimitAndTrimBody() 292 size_t bytes_tl_bulk_allocated; in SizeFootPrintGrowthLimitAndTrimBody() local [all …]
|
D | rosalloc_space-inl.h | 34 size_t* bytes_tl_bulk_allocated) { in AllocCommon() argument 56 DCHECK(bytes_tl_bulk_allocated != nullptr); in AllocCommon() 57 *bytes_tl_bulk_allocated = rosalloc_bytes_tl_bulk_allocated; in AllocCommon()
|
D | memory_tool_malloc_space.h | 35 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 38 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override; 40 size_t* usable_size, size_t* bytes_tl_bulk_allocated)
|
D | dlmalloc_space.h | 60 size_t* bytes_tl_bulk_allocated) override REQUIRES(!lock_); 66 size_t* bytes_tl_bulk_allocated) override REQUIRES(!lock_) { in Alloc() argument 68 bytes_tl_bulk_allocated); in Alloc() 97 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 170 size_t* bytes_tl_bulk_allocated)
|
D | space_create_test.cc | 312 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; in TEST_P() local 319 &bytes_tl_bulk_allocated); in TEST_P() 324 EXPECT_TRUE(bytes_tl_bulk_allocated == 0 || in TEST_P() 325 bytes_tl_bulk_allocated >= allocation_size); in TEST_P() 333 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; in TEST_P() local 339 &bytes_tl_bulk_allocated); in TEST_P() 344 EXPECT_TRUE(bytes_tl_bulk_allocated == 0 || in TEST_P() 345 bytes_tl_bulk_allocated >= allocation_size); in TEST_P()
|
D | bump_pointer_space.h | 58 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override; 61 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 147 bool AllocNewTlab(Thread* self, size_t bytes, size_t* bytes_tl_bulk_allocated) REQUIRES(!lock_);
|
D | large_object_space.cc | 55 size_t* usable_size, size_t* bytes_tl_bulk_allocated) in Alloc() argument 59 usable_size, bytes_tl_bulk_allocated); in Alloc() 140 size_t* bytes_tl_bulk_allocated) { in Alloc() argument 169 DCHECK(bytes_tl_bulk_allocated != nullptr); in Alloc() 170 *bytes_tl_bulk_allocated = allocation_size; in Alloc() 536 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in Alloc() argument 574 DCHECK(bytes_tl_bulk_allocated != nullptr); in Alloc() 575 *bytes_tl_bulk_allocated = allocation_size; in Alloc()
|
D | malloc_space.h | 50 size_t* bytes_tl_bulk_allocated) = 0; 53 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override = 0;
|
D | region_space.h | 72 /* out */ size_t* bytes_tl_bulk_allocated) 79 /* out */ size_t* bytes_tl_bulk_allocated) 86 /* out */ size_t* bytes_tl_bulk_allocated) 93 /* out */ size_t* bytes_tl_bulk_allocated) REQUIRES(!region_lock_); 373 bool AllocNewTlab(Thread* self, const size_t tlab_size, size_t* bytes_tl_bulk_allocated) 439 /* out */ size_t* bytes_tl_bulk_allocated); 735 /* out */ size_t* bytes_tl_bulk_allocated,
|
D | space.h | 215 size_t* usable_size, size_t* bytes_tl_bulk_allocated) = 0; 220 size_t* bytes_tl_bulk_allocated) in AllocThreadUnsafe() argument 222 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocThreadUnsafe()
|
D | bump_pointer_space.cc | 224 bool BumpPointerSpace::AllocNewTlab(Thread* self, size_t bytes, size_t* bytes_tl_bulk_allocated) { in AllocNewTlab() argument 233 if (bytes_tl_bulk_allocated != nullptr) { in AllocNewTlab() 234 *bytes_tl_bulk_allocated = bytes; in AllocNewTlab()
|
D | zygote_space.h | 52 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override;
|
D | large_object_space.h | 171 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override 206 size_t* usable_size, size_t* bytes_tl_bulk_allocated)
|
D | dlmalloc_space.cc | 219 size_t* bytes_tl_bulk_allocated) { in AllocWithGrowth() argument 228 bytes_tl_bulk_allocated); in AllocWithGrowth()
|
D | rosalloc_space.cc | 204 size_t* bytes_tl_bulk_allocated) { in AllocWithGrowth() argument 213 bytes_tl_bulk_allocated); in AllocWithGrowth()
|
/art/runtime/gc/allocator/ |
D | rosalloc-inl.h | 33 size_t* bytes_tl_bulk_allocated) { in Alloc() argument 36 bytes_tl_bulk_allocated); in Alloc() 40 m = AllocFromRun(self, size, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in Alloc() 43 bytes_tl_bulk_allocated); in Alloc()
|
D | rosalloc.h | 788 size_t* bytes_tl_bulk_allocated) REQUIRES(!lock_); 792 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 815 size_t* bytes_tl_bulk_allocated) REQUIRES(!lock_); 853 size_t* bytes_tl_bulk_allocated)
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 56 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; in AllocObjectArray() local 58 space->Alloc(self, size, &bytes_allocated, nullptr, &bytes_tl_bulk_allocated)); in AllocObjectArray() 84 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; in GetObjectArrayClass() local 87 &bytes_tl_bulk_allocated)); in GetObjectArrayClass()
|