Mercurial > hg > graal-compiler
comparison src/share/vm/memory/cardTableRS.hpp @ 12033:bd902affe102
8023021: Unnecessary clearing of the card table introduced by the fix for JDK-8023013
Reviewed-by: stefank, ehelin
author | brutisso |
---|---|
date | Thu, 15 Aug 2013 10:05:50 +0200 |
parents | 330dfb0476f4 |
children | 284953caf7aa |
comparison
equal
deleted
inserted
replaced
12032:5d9995d16b26 | 12033:bd902affe102 |
---|---|
140 | 140 |
141 void verify(); | 141 void verify(); |
142 void verify_aligned_region_empty(MemRegion mr); | 142 void verify_aligned_region_empty(MemRegion mr); |
143 | 143 |
144 void clear(MemRegion mr) { _ct_bs->clear(mr); } | 144 void clear(MemRegion mr) { _ct_bs->clear(mr); } |
145 void clear_into_younger(Generation* gen); | 145 void clear_into_younger(Generation* old_gen); |
146 | 146 |
147 void invalidate(MemRegion mr, bool whole_heap = false) { | 147 void invalidate(MemRegion mr, bool whole_heap = false) { |
148 _ct_bs->invalidate(mr, whole_heap); | 148 _ct_bs->invalidate(mr, whole_heap); |
149 } | 149 } |
150 void invalidate_or_clear(Generation* gen); | 150 void invalidate_or_clear(Generation* old_gen); |
151 | 151 |
152 static uintx ct_max_alignment_constraint() { | 152 static uintx ct_max_alignment_constraint() { |
153 return CardTableModRefBS::ct_max_alignment_constraint(); | 153 return CardTableModRefBS::ct_max_alignment_constraint(); |
154 } | 154 } |
155 | 155 |