Home
last modified time | relevance | path

Searched refs:bytes_tl_bulk_allocated (Results 1 – 25 of 28) sorted by relevance

12

/art/runtime/gc/
Dheap-inl.h137 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/
Dmemory_tool_malloc_space-inl.h37 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 …]
Ddlmalloc_space-inl.h31 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()
Drosalloc_space.h57 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);
Dregion_space-inl.h35 /* 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 …]
Dlarge_object_space_test.cc62 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()
Dbump_pointer_space-inl.h30 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()
Drosalloc_space-inl.h34 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()
Dmemory_tool_malloc_space.h35 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)
Dspace_test.h72 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 …]
Ddlmalloc_space.h60 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)
Dspace_create_test.cc312 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()
Dlarge_object_space.cc55 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()
Dregion_space.h72 /* 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,
Dmalloc_space.h50 size_t* bytes_tl_bulk_allocated) = 0;
53 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override = 0;
Dspace.h215 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()
Dbump_pointer_space.h56 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override;
59 size_t* usable_size, size_t* bytes_tl_bulk_allocated)
Dzygote_space.h52 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override;
Dlarge_object_space.h159 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override
195 size_t* usable_size, size_t* bytes_tl_bulk_allocated)
Ddlmalloc_space.cc169 size_t* bytes_tl_bulk_allocated) { in AllocWithGrowth() argument
178 bytes_tl_bulk_allocated); in AllocWithGrowth()
Drosalloc_space.cc204 size_t* bytes_tl_bulk_allocated) { in AllocWithGrowth() argument
213 bytes_tl_bulk_allocated); in AllocWithGrowth()
/art/runtime/gc/allocator/
Drosalloc-inl.h33 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()
Drosalloc.h787 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)
Drosalloc.cc463 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/
Dmod_union_table_test.cc55 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()

12