/art/runtime/gc/ |
D | heap-inl.h | 111 size_t bytes_tl_bulk_allocated = 0u; in AllocObjectWithAllocator() local 113 &usable_size, &bytes_tl_bulk_allocated); in AllocObjectWithAllocator() 123 &bytes_tl_bulk_allocated, &klass); in AllocObjectWithAllocator() 159 num_bytes_allocated_.FetchAndAddRelaxed(bytes_tl_bulk_allocated); in AllocObjectWithAllocator() 160 new_num_bytes_allocated = num_bytes_allocated_before + bytes_tl_bulk_allocated; in AllocObjectWithAllocator() 161 if (bytes_tl_bulk_allocated > 0) { in AllocObjectWithAllocator() 253 size_t* bytes_tl_bulk_allocated) { in TryToAllocate() argument 269 *bytes_tl_bulk_allocated = alloc_size; in TryToAllocate() 283 bytes_tl_bulk_allocated); in TryToAllocate() 300 bytes_tl_bulk_allocated); in TryToAllocate() [all …]
|
/art/runtime/gc/space/ |
D | memory_tool_malloc_space-inl.h | 35 size_t bytes_tl_bulk_allocated, in AdjustForValgrind() argument 42 *bytes_tl_bulk_allocated_out = bytes_tl_bulk_allocated; in AdjustForValgrind() 94 size_t bytes_tl_bulk_allocated; in AllocWithGrowth() local 97 &bytes_tl_bulk_allocated); in AllocWithGrowth() 105 bytes_tl_bulk_allocated, in AllocWithGrowth() 123 size_t bytes_tl_bulk_allocated; in Alloc() local 125 &bytes_allocated, &usable_size, &bytes_tl_bulk_allocated); in Alloc() 133 bytes_tl_bulk_allocated, in Alloc() 151 size_t bytes_tl_bulk_allocated; in AllocThreadUnsafe() local 154 &bytes_tl_bulk_allocated); in AllocThreadUnsafe() [all …]
|
D | rosalloc_space.h | 50 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 53 size_t* usable_size, size_t* bytes_tl_bulk_allocated) OVERRIDE { in Alloc() argument 55 bytes_tl_bulk_allocated); in Alloc() 58 size_t* usable_size, size_t* bytes_tl_bulk_allocated) in AllocThreadUnsafe() argument 61 bytes_tl_bulk_allocated); in AllocThreadUnsafe() 72 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocNonvirtual() argument 75 bytes_tl_bulk_allocated); in AllocNonvirtual() 79 size_t* bytes_tl_bulk_allocated) { in AllocNonvirtualThreadUnsafe() argument 82 bytes_tl_bulk_allocated); in AllocNonvirtualThreadUnsafe() 158 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 | 31 /* out */ size_t* bytes_tl_bulk_allocated) { in Alloc() argument 34 bytes_tl_bulk_allocated); in Alloc() 41 /* out */ size_t* bytes_tl_bulk_allocated) { in AllocThreadUnsafe() argument 43 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocThreadUnsafe() 50 /* out */ size_t* bytes_tl_bulk_allocated) { in AllocNonvirtual() argument 58 bytes_tl_bulk_allocated); in AllocNonvirtual() 67 bytes_tl_bulk_allocated); in AllocNonvirtual() 73 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual() 86 obj = AllocLarge<kForEvac>(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual() 97 /* out */ size_t* bytes_tl_bulk_allocated) { in Alloc() argument [all …]
|
D | bump_pointer_space-inl.h | 30 size_t* bytes_tl_bulk_allocated) { in Alloc() argument 38 *bytes_tl_bulk_allocated = num_bytes; in Alloc() 46 size_t* bytes_tl_bulk_allocated) { in AllocThreadUnsafe() argument 62 *bytes_tl_bulk_allocated = num_bytes; in AllocThreadUnsafe()
|
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 | 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 | space_test.h | 73 size_t* bytes_tl_bulk_allocated) in Alloc() argument 81 bytes_tl_bulk_allocated); in Alloc() 93 size_t* bytes_tl_bulk_allocated) in AllocWithGrowth() argument 98 bytes_tl_bulk_allocated); in AllocWithGrowth() 193 size_t bytes_tl_bulk_allocated; in SizeFootPrintGrowthLimitAndTrimBody() local 196 &bytes_tl_bulk_allocated)); in SizeFootPrintGrowthLimitAndTrimBody() 199 &bytes_tl_bulk_allocated)); in SizeFootPrintGrowthLimitAndTrimBody() 212 EXPECT_TRUE(bytes_tl_bulk_allocated == 0 || in SizeFootPrintGrowthLimitAndTrimBody() 213 bytes_tl_bulk_allocated >= allocation_size); in SizeFootPrintGrowthLimitAndTrimBody() 291 size_t bytes_tl_bulk_allocated; in SizeFootPrintGrowthLimitAndTrimBody() local [all …]
|
D | dlmalloc_space.h | 52 size_t* bytes_tl_bulk_allocated) 56 size_t* usable_size, size_t* bytes_tl_bulk_allocated) in Alloc() argument 59 bytes_tl_bulk_allocated); in Alloc() 88 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 149 size_t* bytes_tl_bulk_allocated)
|
D | space_create_test.cc | 315 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; in TEST_P() local 322 &bytes_tl_bulk_allocated); in TEST_P() 327 EXPECT_TRUE(bytes_tl_bulk_allocated == 0 || in TEST_P() 328 bytes_tl_bulk_allocated >= allocation_size); in TEST_P() 336 size_t allocation_size, usable_size, bytes_tl_bulk_allocated; in TEST_P() local 342 &bytes_tl_bulk_allocated); in TEST_P() 347 EXPECT_TRUE(bytes_tl_bulk_allocated == 0 || in TEST_P() 348 bytes_tl_bulk_allocated >= allocation_size); in TEST_P()
|
D | large_object_space.cc | 57 size_t* usable_size, size_t* bytes_tl_bulk_allocated) in Alloc() argument 61 usable_size, bytes_tl_bulk_allocated); in Alloc() 139 size_t* bytes_tl_bulk_allocated) { in Alloc() argument 162 DCHECK(bytes_tl_bulk_allocated != nullptr); in Alloc() 163 *bytes_tl_bulk_allocated = allocation_size; in Alloc() 475 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in Alloc() argument 513 DCHECK(bytes_tl_bulk_allocated != nullptr); in Alloc() 514 *bytes_tl_bulk_allocated = allocation_size; in Alloc()
|
D | malloc_space.h | 48 size_t* bytes_tl_bulk_allocated) = 0; 51 size_t* usable_size, size_t* bytes_tl_bulk_allocated) = 0;
|
D | bump_pointer_space.h | 54 size_t* usable_size, size_t* bytes_tl_bulk_allocated) OVERRIDE; 57 size_t* usable_size, 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 | region_space.h | 54 /* out */ size_t* bytes_tl_bulk_allocated) 61 /* out */ size_t* bytes_tl_bulk_allocated) 68 /* out */ size_t* bytes_tl_bulk_allocated) 75 /* out */ size_t* bytes_tl_bulk_allocated) REQUIRES(!region_lock_); 330 /* out */ size_t* bytes_tl_bulk_allocated);
|
D | zygote_space.h | 49 size_t* usable_size, size_t* bytes_tl_bulk_allocated) OVERRIDE;
|
D | large_object_space.h | 140 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 176 size_t* usable_size, size_t* bytes_tl_bulk_allocated)
|
D | dlmalloc_space.cc | 132 size_t* bytes_tl_bulk_allocated) { in AllocWithGrowth() argument 141 bytes_tl_bulk_allocated); in AllocWithGrowth()
|
D | rosalloc_space.cc | 158 size_t* bytes_tl_bulk_allocated) { in AllocWithGrowth() argument 167 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 | 787 size_t* bytes_tl_bulk_allocated) 792 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 812 size_t* usable_size, size_t* bytes_tl_bulk_allocated) 851 size_t* bytes_tl_bulk_allocated)
|
D | rosalloc.cc | 461 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocLargeObject() argument 480 *bytes_tl_bulk_allocated = total_bytes; in AllocLargeObject() 634 size_t* bytes_tl_bulk_allocated) { in AllocFromRunThreadUnsafe() argument 637 DCHECK(bytes_tl_bulk_allocated != nullptr); in AllocFromRunThreadUnsafe() 646 *bytes_tl_bulk_allocated = bracket_size; in AllocFromRunThreadUnsafe() 653 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocFromRun() argument 656 DCHECK(bytes_tl_bulk_allocated != nullptr); in AllocFromRun() 720 *bytes_tl_bulk_allocated = thread_local_run->NumberOfFreeSlots() * bracket_size; in AllocFromRun() 726 *bytes_tl_bulk_allocated = 0; in AllocFromRun() 750 *bytes_tl_bulk_allocated = bracket_size; in AllocFromRun()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 53 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; in AllocObjectArray() local 55 space->Alloc(self, size, &bytes_allocated, nullptr, &bytes_tl_bulk_allocated)); in AllocObjectArray() 82 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; in GetObjectArrayClass() local 85 &bytes_tl_bulk_allocated)); in GetObjectArrayClass()
|