Home
last modified time | relevance | path

Searched refs:Capacity (Results 1 – 19 of 19) sorted by relevance

/art/runtime/
Dindirect_reference_table_test.cc92 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 …]
Dindirect_reference_table.h322 size_t Capacity() const { in Capacity() function
328 return IrtIterator(table_, 0, Capacity()); in begin()
332 return IrtIterator(table_, Capacity(), Capacity()); in end()
Djni_internal-inl.h33 size_t entry_count = locals.Capacity(); in AddLocalReference()
Dindirect_reference_table.cc236 const size_t top_index = Capacity(); in Trim()
253 for (size_t i = 0; i < Capacity(); ++i) { in Dump()
Djni_internal.cc2570 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/
Dassembler.cc51 CHECK_EQ(Capacity(), kInitialBufferCapacity); in AssemblerBuffer()
84 size_t old_capacity = Capacity(); in ExtendCapacity()
102 CHECK_EQ(Capacity(), new_capacity); in ExtendCapacity()
Dassembler.h288 int ComputeGap() { return buffer_->Capacity() - buffer_->Size(); } in ComputeGap()
332 size_t Capacity() const { in Capacity() function
/art/runtime/gc/space/
Dmalloc_space.cc139 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()
Dspace.h282 virtual size_t Capacity() const { in Capacity() function
356 return Capacity(); in NonGrowthLimitCapacity()
Dmalloc_space.h104 size_t Capacity() const { in Capacity() function
Dbump_pointer_space.h84 size_t Capacity() const { in Capacity() function
Ddlmalloc_space.cc134 size_t max_allowed = Capacity(); in AllocWithGrowth()
Dspace_test.h554 EXPECT_EQ(space->Capacity(), growth_limit); in SizeFootPrintGrowthLimitAndTrimDriver()
566 EXPECT_EQ(space->Capacity(), capacity); in SizeFootPrintGrowthLimitAndTrimDriver()
Drosalloc_space.cc152 size_t max_allowed = Capacity(); in AllocWithGrowth()
/art/runtime/gc/accounting/
Datomic_stack.h151 size_t Capacity() const { in Capacity() function
/art/runtime/gc/collector/
Dmark_compact.cc286 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush()
287 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
Dmark_sweep.cc321 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()
Dsemi_space.cc423 if (UNLIKELY(mark_stack_->Size() >= mark_stack_->Capacity())) { in MarkStackPush()
424 ResizeMarkStack(mark_stack_->Capacity() * 2); in MarkStackPush()
/art/runtime/gc/
Dheap.cc310 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()