equal
deleted
inserted
replaced
58 |
58 |
59 return map; |
59 return map; |
60 } |
60 } |
61 |
61 |
62 void G1CardLiveData::free_large_bitmap(bm_word_t* bitmap, size_t size_in_bits) { |
62 void G1CardLiveData::free_large_bitmap(bm_word_t* bitmap, size_t size_in_bits) { |
63 MmapArrayAllocator<bm_word_t, mtGC>::free(bitmap, size_in_bits / BitsPerWord); |
63 MmapArrayAllocator<bm_word_t, mtGC>::free(bitmap, BitMap::calc_size_in_words(size_in_bits)); |
64 } |
64 } |
65 |
65 |
66 void G1CardLiveData::initialize(size_t max_capacity, uint num_max_regions) { |
66 void G1CardLiveData::initialize(size_t max_capacity, uint num_max_regions) { |
67 assert(max_capacity % num_max_regions == 0, |
67 assert(max_capacity % num_max_regions == 0, |
68 "Given capacity must be evenly divisible by region size."); |
68 "Given capacity must be evenly divisible by region size."); |