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

/art/runtime/gc/accounting/
H A Dspace_bitmap_test.cc34 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));
116 size_t heap_capacity = 16 * MB; variable
124 ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity));
127 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment);
141 size_t offset = RoundDown(r.next() % heap_capacity, kAlignment);
142 size_t remain = heap_capacity - offset;
H A Dcard_table.cc58 CardTable* CardTable::Create(const byte* heap_begin, size_t heap_capacity) { argument
60 size_t capacity = heap_capacity / kCardSize;
H A Dspace_bitmap.cc38 const std::string& name, MemMap* mem_map, byte* heap_begin, size_t heap_capacity) {
41 const size_t bitmap_size = ComputeBitmapSize(heap_capacity);
60 const std::string& name, byte* heap_begin, size_t heap_capacity) {
61 // Round up since heap_capacity is not necessarily a multiple of kAlignment * kBitsPerWord.
62 const size_t bitmap_size = ComputeBitmapSize(heap_capacity);
70 return CreateFromMemMap(name, mem_map.release(), heap_begin, heap_capacity);
37 CreateFromMemMap( const std::string& name, MemMap* mem_map, byte* heap_begin, size_t heap_capacity) argument
59 Create( const std::string& name, byte* heap_begin, size_t heap_capacity) argument
H A Dcard_table.h54 static CardTable* Create(const byte* heap_begin, size_t heap_capacity);
H A Dspace_bitmap.h47 // heap_begin of heap_capacity bytes, where objects are guaranteed to be kAlignment-aligned.
48 static SpaceBitmap* Create(const std::string& name, byte* 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 byte* heap_begin, size_t heap_capacity);
/art/runtime/gc/
H A Dheap_test.cc66 const size_t heap_capacity = kObjectAlignment * (sizeof(intptr_t) * 8 + 1); local
68 accounting::ContinuousSpaceBitmap::Create("test bitmap", heap_begin, heap_capacity));
70 reinterpret_cast<mirror::Object*>(&heap_begin[heap_capacity - kObjectAlignment]);
H A Dheap.cc354 size_t heap_capacity = heap_end - heap_begin; local
360 card_table_.reset(accounting::CardTable::Create(heap_begin, heap_capacity));

Completed in 39 milliseconds