Searched refs:heap_capacity (Results 1 – 7 of 7) sorted by relevance
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 34 size_t heap_capacity = 16 * MB; in TEST_F() local 36 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F() 61 size_t heap_capacity = 16 * MB; in TEST_F() local 64 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F() 116 size_t heap_capacity = 16 * MB; in RunTest() local 124 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in RunTest() 127 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest() 141 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment); in RunTest() 142 size_t remain = heap_capacity - offset; in RunTest()
|
D | space_bitmap.cc | 44 const std::string& name, MemMap* mem_map, uint8_t* heap_begin, size_t heap_capacity) { in CreateFromMemMap() argument 47 const size_t bitmap_size = ComputeBitmapSize(heap_capacity); in CreateFromMemMap() 66 const std::string& name, uint8_t* heap_begin, size_t heap_capacity) { in Create() argument 68 const size_t bitmap_size = ComputeBitmapSize(heap_capacity); in Create() 77 return CreateFromMemMap(name, mem_map.release(), heap_begin, heap_capacity); in Create()
|
D | card_table.cc | 59 CardTable* CardTable::Create(const uint8_t* heap_begin, size_t heap_capacity) { in Create() argument 61 size_t capacity = heap_capacity / kCardSize; in Create()
|
D | space_bitmap.h | 48 static SpaceBitmap* Create(const std::string& name, uint8_t* heap_begin, size_t heap_capacity); 54 uint8_t* heap_begin, size_t heap_capacity);
|
D | card_table.h | 55 static CardTable* Create(const uint8_t* heap_begin, size_t heap_capacity);
|
/art/runtime/gc/ |
D | heap_test.cc | 67 const size_t heap_capacity = kObjectAlignment * (sizeof(intptr_t) * 8 + 1); in TEST_F() local 69 accounting::ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); in TEST_F() 71 reinterpret_cast<mirror::Object*>(&heap_begin[heap_capacity - kObjectAlignment]); in TEST_F()
|
D | heap.cc | 423 size_t heap_capacity = heap_end - heap_begin; in Heap() local 432 card_table_.reset(accounting::CardTable::Create(heap_begin, heap_capacity)); in Heap()
|