equal
deleted
inserted
replaced
104 |
104 |
105 guarantee(CardsPerRegion == 0, "we should only set it once"); |
105 guarantee(CardsPerRegion == 0, "we should only set it once"); |
106 CardsPerRegion = GrainBytes >> G1CardTable::card_shift; |
106 CardsPerRegion = GrainBytes >> G1CardTable::card_shift; |
107 |
107 |
108 if (G1HeapRegionSize != GrainBytes) { |
108 if (G1HeapRegionSize != GrainBytes) { |
109 FLAG_SET_ERGO(size_t, G1HeapRegionSize, GrainBytes); |
109 FLAG_SET_ERGO(G1HeapRegionSize, GrainBytes); |
110 } |
110 } |
111 } |
111 } |
112 |
112 |
113 void HeapRegion::hr_clear(bool keep_remset, bool clear_space, bool locked) { |
113 void HeapRegion::hr_clear(bool keep_remset, bool clear_space, bool locked) { |
114 assert(_humongous_start_region == NULL, |
114 assert(_humongous_start_region == NULL, |