comparison src/share/vm/memory/cardTableModRefBS.cpp @ 5984:fd09f2d8283e

7157141: crash in 64 bit with corrupted oops Reviewed-by: kvn, iveresov
author never
date Mon, 02 Apr 2012 16:05:56 -0700
parents ea640b5e949a
children d2a62e0f25eb
comparison
equal deleted inserted replaced
5977:e02867d10860 5984:fd09f2d8283e
709 void CardTableModRefBS::verify_dirty_region(MemRegion mr) { 709 void CardTableModRefBS::verify_dirty_region(MemRegion mr) {
710 verify_region(mr, dirty_card, true /* val_equals */); 710 verify_region(mr, dirty_card, true /* val_equals */);
711 } 711 }
712 #endif 712 #endif
713 713
714 void CardTableModRefBS::print_on(outputStream* st) const {
715 st->print_cr("Card table byte_map: [" INTPTR_FORMAT "," INTPTR_FORMAT "] byte_map_base: " INTPTR_FORMAT,
716 _byte_map, _byte_map + _byte_map_size, byte_map_base);
717 }
718
714 bool CardTableModRefBSForCTRS::card_will_be_scanned(jbyte cv) { 719 bool CardTableModRefBSForCTRS::card_will_be_scanned(jbyte cv) {
715 return 720 return
716 CardTableModRefBS::card_will_be_scanned(cv) || 721 CardTableModRefBS::card_will_be_scanned(cv) ||
717 _rs->is_prev_nonclean_card_val(cv); 722 _rs->is_prev_nonclean_card_val(cv);
718 }; 723 };