/art/runtime/ |
D | indirect_reference_table_test.cc | 92 EXPECT_EQ(0U, irt.Capacity()); in TEST_F() 114 ASSERT_EQ(0U, irt.Capacity()); in TEST_F() 126 ASSERT_EQ(3U, irt.Capacity()); in TEST_F() 142 ASSERT_EQ(0U, irt.Capacity()); in TEST_F() 163 ASSERT_EQ(4U, irt.Capacity()) << "hole not filled"; in TEST_F() 171 ASSERT_EQ(3U, irt.Capacity()) << "should be 3 after two deletions"; in TEST_F() 178 ASSERT_EQ(0U, irt.Capacity()) << "not empty after split remove"; in TEST_F() 194 ASSERT_EQ(0U, irt.Capacity()) << "switching del not empty"; in TEST_F() 212 ASSERT_EQ(0U, irt.Capacity()) << "temporal del not empty"; in TEST_F() 237 ASSERT_EQ(kTableInitial + 1, irt.Capacity()); in TEST_F() [all …]
|
D | indirect_reference_table.h | 322 size_t Capacity() const { in Capacity() function 328 return IrtIterator(table_, 0, Capacity()); in begin() 332 return IrtIterator(table_, Capacity(), Capacity()); in end()
|
D | jni_internal-inl.h | 33 size_t entry_count = locals.Capacity(); in AddLocalReference()
|
D | indirect_reference_table.cc | 236 const size_t top_index = Capacity(); in Trim() 253 for (size_t i = 0; i < Capacity(); ++i) { in Dump()
|
D | jni_internal.cc | 2570 const size_t capacity = soa.Env()->locals.Capacity(); in EnsureLocalCapacity() 3177 os << "; globals=" << globals.Capacity(); in DumpForSigQuit() 3181 if (weak_globals_.Capacity() > 0) { in DumpForSigQuit() 3182 os << " (plus " << weak_globals_.Capacity() << " weak)"; in DumpForSigQuit()
|
/art/compiler/utils/ |
D | assembler.cc | 51 CHECK_EQ(Capacity(), kInitialBufferCapacity); in AssemblerBuffer() 84 size_t old_capacity = Capacity(); in ExtendCapacity() 102 CHECK_EQ(Capacity(), new_capacity); in ExtendCapacity()
|
D | assembler.h | 288 int ComputeGap() { return buffer_->Capacity() - buffer_->Size(); } in ComputeGap() 332 size_t Capacity() const { in Capacity() function
|
/art/runtime/gc/space/ |
D | malloc_space.cc | 139 CHECK_LE(new_end, Begin() + Capacity()); in MoreCore() 176 const size_t capacity = Capacity() - size; in CreateZygoteSpace() 181 << "Capacity " << Capacity(); in CreateZygoteSpace() 225 << ",size=" << PrettySize(Size()) << ",capacity=" << PrettySize(Capacity()) in Dump()
|
D | space.h | 282 virtual size_t Capacity() const { in Capacity() function 356 return Capacity(); in NonGrowthLimitCapacity()
|
D | malloc_space.h | 104 size_t Capacity() const { in Capacity() function
|
D | bump_pointer_space.h | 84 size_t Capacity() const { in Capacity() function
|
D | dlmalloc_space.cc | 134 size_t max_allowed = Capacity(); in AllocWithGrowth()
|
D | space_test.h | 554 EXPECT_EQ(space->Capacity(), growth_limit); in SizeFootPrintGrowthLimitAndTrimDriver() 566 EXPECT_EQ(space->Capacity(), capacity); in SizeFootPrintGrowthLimitAndTrimDriver()
|
D | rosalloc_space.cc | 152 size_t max_allowed = Capacity(); in AllocWithGrowth()
|
/art/runtime/gc/accounting/ |
D | atomic_stack.h | 151 size_t Capacity() const { in Capacity() function
|
/art/runtime/gc/collector/ |
D | mark_compact.cc | 286 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush() 287 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
|
D | mark_sweep.cc | 321 ResizeMarkStack(mark_stack_->Capacity() * 2); in ExpandMarkStack() 326 if (UNLIKELY(mark_stack_->Size() < mark_stack_->Capacity())) { in ResizeMarkStack() 342 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkObjectNonNullParallel() 421 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in PushOnMarkStack()
|
D | semi_space.cc | 423 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush() 424 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
|
/art/runtime/gc/ |
D | heap.cc | 310 non_moving_space_->SetFootprintLimit(non_moving_space_->Capacity()); in Heap() 488 malloc_space->SetFootprintLimit(malloc_space->Capacity()); in CreateMallocSpaceFromMemMap() 619 mprotect(space->Begin(), space->Capacity(), PROT_READ | PROT_WRITE); in DumpObject() 2000 madvise(main_space_->Begin(), main_space_->Capacity(), MADV_DONTNEED); in PreZygoteFork() 2052 non_moving_space_->SetFootprintLimit(non_moving_space_->Capacity()); in PreZygoteFork() 3006 malloc_space->SetFootprintLimit(malloc_space->Capacity()); in ClearGrowthLimit() 3012 main_space_backup_->SetFootprintLimit(main_space_backup_->Capacity()); in ClearGrowthLimit()
|