/art/runtime/gc/accounting/ |
space_bitmap_test.cc | 34 size_t heap_capacity = 16 * MB; local 36 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); 61 size_t heap_capacity = 16 * MB; local 64 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); 92 size_t heap_capacity = 16 * MB; local 95 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); 99 for (size_t j = 0; j < heap_capacity; j += kObjectAlignment) { 158 size_t heap_capacity = 16 * MB; variable 166 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); 169 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment) [all...] |
space_bitmap.cc | 47 const std::string& name, MemMap* mem_map, uint8_t* heap_begin, size_t heap_capacity) { 50 const size_t bitmap_size = ComputeBitmapSize(heap_capacity); 51 return new SpaceBitmap(name, mem_map, bitmap_begin, bitmap_size, heap_begin, heap_capacity); 60 size_t heap_capacity) 65 heap_limit_(reinterpret_cast<uintptr_t>(heap_begin) + heap_capacity), 76 const std::string& name, uint8_t* heap_begin, size_t heap_capacity) { 77 // Round up since heap_capacity is not necessarily a multiple of kAlignment * kBitsPerWord. 78 const size_t bitmap_size = ComputeBitmapSize(heap_capacity); 87 return CreateFromMemMap(name, mem_map.release(), heap_begin, heap_capacity);
|
space_bitmap.h | 47 // heap_begin of heap_capacity bytes, where objects are guaranteed to be kAlignment-aligned. 48 static SpaceBitmap* Create(const std::string& name, uint8_t* heap_begin, size_t heap_capacity); 51 // mem map. The address range covered starts at heap_begin and is of size equal to heap_capacity. 54 uint8_t* heap_begin, size_t heap_capacity); 205 size_t heap_capacity);
|
card_table.cc | 62 CardTable* CardTable::Create(const uint8_t* heap_begin, size_t heap_capacity) { 65 size_t capacity = heap_capacity / kCardSize;
|
card_table.h | 56 static CardTable* Create(const uint8_t* heap_begin, size_t heap_capacity);
|
/art/runtime/gc/ |
heap_test.cc | 67 const size_t heap_capacity = kObjectAlignment * (sizeof(intptr_t) * 8 + 1); local 69 accounting::ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity)); 71 reinterpret_cast<mirror::Object*>(&heap_begin[heap_capacity - kObjectAlignment]);
|
heap.cc | 507 size_t heap_capacity = heap_end - heap_begin; local 517 UNUSED(heap_capacity); [all...] |