Home
last modified time | relevance | path

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

12

/art/runtime/gc/
Dheap-inl.h89 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/
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 …]
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);
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()
Dregion_space-inl.h33 /* 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 …]
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.h31 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()
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 …]
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)
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()
Dbump_pointer_space.h58 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_);
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()
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()
Dmalloc_space.h50 size_t* bytes_tl_bulk_allocated) = 0;
53 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override = 0;
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_);
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,
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.cc224 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()
Dzygote_space.h52 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override;
Dlarge_object_space.h171 size_t* usable_size, size_t* bytes_tl_bulk_allocated) override
206 size_t* usable_size, size_t* bytes_tl_bulk_allocated)
Ddlmalloc_space.cc219 size_t* bytes_tl_bulk_allocated) { in AllocWithGrowth() argument
228 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.h788 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/
Dmod_union_table_test.cc56 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()

12