Home
last modified time | relevance | path

Searched refs:heap_capacity (Results 1 – 7 of 7) sorted by relevance

/art/runtime/gc/accounting/
Dspace_bitmap_test.cc35 size_t heap_capacity = 16 * MB; in TEST_F() local
37 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F()
62 size_t heap_capacity = 16 * MB; in TEST_F() local
65 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F()
93 size_t heap_capacity = 16 * MB; in TEST_F() local
96 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F()
100 for (size_t j = 0; j < heap_capacity; j += kObjectAlignment) { in TEST_F()
159 size_t heap_capacity = 16 * MB; in RunTest() local
166 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in RunTest()
169 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest()
[all …]
Dspace_bitmap.cc52 const std::string& name, MemMap&& mem_map, uint8_t* heap_begin, size_t heap_capacity) { in CreateFromMemMap() argument
55 const size_t bitmap_size = ComputeBitmapSize(heap_capacity); in CreateFromMemMap()
56 return { name, std::move(mem_map), bitmap_begin, bitmap_size, heap_begin, heap_capacity }; in CreateFromMemMap()
65 size_t heap_capacity) in SpaceBitmap() argument
70 heap_limit_(reinterpret_cast<uintptr_t>(heap_begin) + heap_capacity), in SpaceBitmap()
81 const std::string& name, uint8_t* heap_begin, size_t heap_capacity) { in Create() argument
84 const size_t bitmap_size = ComputeBitmapSize(heap_capacity); in Create()
95 return CreateFromMemMap(name, std::move(mem_map), heap_begin, heap_capacity); in Create()
Dspace_bitmap.h48 static SpaceBitmap Create(const std::string& name, uint8_t* heap_begin, size_t heap_capacity);
56 size_t heap_capacity);
237 size_t heap_capacity);
Dcard_table.cc61 CardTable* CardTable::Create(const uint8_t* heap_begin, size_t heap_capacity) { in Create() argument
64 size_t capacity = heap_capacity / kCardSize; in Create()
Dcard_table.h55 static CardTable* Create(const uint8_t* heap_begin, size_t heap_capacity);
/art/runtime/gc/
Dheap_test.cc89 const size_t heap_capacity = kObjectAlignment * (sizeof(intptr_t) * 8 + 1); in TEST_F() local
91 accounting::ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F()
93 reinterpret_cast<mirror::Object*>(&heap_begin[heap_capacity - kObjectAlignment]); in TEST_F()
Dheap.cc616 size_t heap_capacity = heap_end - heap_begin; in Heap() local
626 UNUSED(heap_capacity); in Heap()