/art/runtime/gc/ |
D | heap-inl.h | 137 size_t bytes_tl_bulk_allocated = 0u; in AllocObjectWithAllocator() local 139 &usable_size, &bytes_tl_bulk_allocated); in AllocObjectWithAllocator() 150 &bytes_tl_bulk_allocated, in AllocObjectWithAllocator() 183 if (bytes_tl_bulk_allocated > 0) { in AllocObjectWithAllocator() 185 num_bytes_allocated_.fetch_add(bytes_tl_bulk_allocated, std::memory_order_relaxed); in AllocObjectWithAllocator() 186 new_num_bytes_allocated = num_bytes_allocated_before + bytes_tl_bulk_allocated; in AllocObjectWithAllocator() 289 size_t* bytes_tl_bulk_allocated) { in TryToAllocate() argument 305 *bytes_tl_bulk_allocated = alloc_size; in TryToAllocate() 319 bytes_tl_bulk_allocated); in TryToAllocate() 336 bytes_tl_bulk_allocated); 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 | 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 | 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 | region_space-inl.h | 35 /* out */ size_t* bytes_tl_bulk_allocated) { in Alloc() argument 38 bytes_tl_bulk_allocated); in Alloc() 45 /* out */ size_t* bytes_tl_bulk_allocated) { in AllocThreadUnsafe() argument 47 return Alloc(self, num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocThreadUnsafe() 54 /* out */ size_t* bytes_tl_bulk_allocated) { in AllocNonvirtual() argument 62 bytes_tl_bulk_allocated); in AllocNonvirtual() 72 bytes_tl_bulk_allocated); in AllocNonvirtual() 78 obj = r->Alloc(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual() 91 obj = AllocLarge<kForEvac>(num_bytes, bytes_allocated, usable_size, bytes_tl_bulk_allocated); in AllocNonvirtual() 102 /* 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 | 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 64 *bytes_tl_bulk_allocated = num_bytes; in AllocThreadUnsafe()
|
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 | 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 | 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 | 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() 138 size_t* bytes_tl_bulk_allocated) { in Alloc() argument 164 DCHECK(bytes_tl_bulk_allocated != nullptr); in Alloc() 165 *bytes_tl_bulk_allocated = allocation_size; in Alloc() 501 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in Alloc() argument 539 DCHECK(bytes_tl_bulk_allocated != nullptr); in Alloc() 540 *bytes_tl_bulk_allocated = allocation_size; in Alloc()
|
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_); 372 bool AllocNewTlab(Thread* self, const size_t tlab_size, size_t* bytes_tl_bulk_allocated) 436 /* out */ size_t* bytes_tl_bulk_allocated); 726 /* out */ size_t* bytes_tl_bulk_allocated,
|
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 | 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.h | 56 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override; 59 size_t* usable_size, size_t* bytes_tl_bulk_allocated)
|
D | zygote_space.h | 52 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override;
|
D | large_object_space.h | 159 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override 195 size_t* usable_size, size_t* bytes_tl_bulk_allocated)
|
D | dlmalloc_space.cc | 169 size_t* bytes_tl_bulk_allocated) { in AllocWithGrowth() argument 178 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 | 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 | 463 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocLargeObject() argument 482 *bytes_tl_bulk_allocated = total_bytes; in AllocLargeObject() 636 size_t* bytes_tl_bulk_allocated) { in AllocFromRunThreadUnsafe() argument 639 DCHECK(bytes_tl_bulk_allocated != nullptr); in AllocFromRunThreadUnsafe() 648 *bytes_tl_bulk_allocated = bracket_size; in AllocFromRunThreadUnsafe() 655 size_t* usable_size, size_t* bytes_tl_bulk_allocated) { in AllocFromRun() argument 658 DCHECK(bytes_tl_bulk_allocated != nullptr); in AllocFromRun() 722 *bytes_tl_bulk_allocated = thread_local_run->NumberOfFreeSlots() * bracket_size; in AllocFromRun() 728 *bytes_tl_bulk_allocated = 0; in AllocFromRun() 752 *bytes_tl_bulk_allocated = bracket_size; in AllocFromRun()
|
/art/runtime/gc/accounting/ |
D | mod_union_table_test.cc | 55 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; in AllocObjectArray() local 57 space->Alloc(self, size, &bytes_allocated, nullptr, &bytes_tl_bulk_allocated)); in AllocObjectArray() 83 size_t bytes_allocated = 0, bytes_tl_bulk_allocated; in GetObjectArrayClass() local 86 &bytes_tl_bulk_allocated)); in GetObjectArrayClass()
|