Commit 0b6862e 1 parent 6fab8a2 commit 0b6862e Copy full SHA for 0b6862e
File tree 2 files changed +0
-30
lines changed
src/hotspot/share/gc/shared
2 files changed +0
-30
lines changed Original file line number Diff line number Diff line change @@ -385,32 +385,6 @@ void CardTable::dirty(MemRegion mr) {
385
385
memset (first, dirty_card, last-first);
386
386
}
387
387
388
- // Unlike several other card table methods, dirty_card_iterate()
389
- // iterates over dirty cards ranges in increasing address order.
390
- void CardTable::dirty_card_iterate (MemRegion mr, MemRegionClosure* cl) {
391
- for (int i = 0 ; i < _cur_covered_regions; i++) {
392
- MemRegion mri = mr.intersection (_covered[i]);
393
- if (!mri.is_empty ()) {
394
- CardValue *cur_entry, *next_entry, *limit;
395
- for (cur_entry = byte_for (mri.start ()), limit = byte_for (mri.last ());
396
- cur_entry <= limit;
397
- cur_entry = next_entry) {
398
- next_entry = cur_entry + 1 ;
399
- if (*cur_entry == dirty_card) {
400
- size_t dirty_cards;
401
- // Accumulate maximal dirty card range, starting at cur_entry
402
- for (dirty_cards = 1 ;
403
- next_entry <= limit && *next_entry == dirty_card;
404
- dirty_cards++, next_entry++);
405
- MemRegion cur_cards (addr_for (cur_entry),
406
- dirty_cards*_card_size_in_words);
407
- cl->do_MemRegion (cur_cards);
408
- }
409
- }
410
- }
411
- }
412
- }
413
-
414
388
MemRegion CardTable::dirty_card_range_after_reset (MemRegion mr,
415
389
bool reset,
416
390
int reset_val) {
Original file line number Diff line number Diff line change @@ -218,10 +218,6 @@ class CardTable: public CHeapObj<mtGC> {
218
218
219
219
static uintx ct_max_alignment_constraint ();
220
220
221
- // Apply closure "cl" to the dirty cards containing some part of
222
- // MemRegion "mr".
223
- void dirty_card_iterate (MemRegion mr, MemRegionClosure* cl);
224
-
225
221
// Return the MemRegion corresponding to the first maximal run
226
222
// of dirty cards lying completely within MemRegion mr.
227
223
// If reset is "true", then sets those card table entries to the given
You can’t perform that action at this time.
0 commit comments