hotspot/src/share/vm/gc/parallel/cardTableExtension.cpp
changeset 35061 be6025ebffea
parent 33105 294e48b4f704
child 35862 411842d0c882
equal deleted inserted replaced
35060:382d0689141c 35061:be6025ebffea
   466   resize_update_card_table_entries(changed_region, new_region);
   466   resize_update_card_table_entries(changed_region, new_region);
   467 
   467 
   468   // Update the covered region
   468   // Update the covered region
   469   resize_update_covered_table(changed_region, new_region);
   469   resize_update_covered_table(changed_region, new_region);
   470 
   470 
   471   if (TraceCardTableModRefBS) {
   471   int ind = changed_region;
   472     int ind = changed_region;
   472   log_trace(gc, barrier)("CardTableModRefBS::resize_covered_region: ");
   473     gclog_or_tty->print_cr("CardTableModRefBS::resize_covered_region: ");
   473   log_trace(gc, barrier)("    _covered[%d].start(): " INTPTR_FORMAT "  _covered[%d].last(): " INTPTR_FORMAT,
   474     gclog_or_tty->print_cr("  "
   474                 ind, p2i(_covered[ind].start()), ind, p2i(_covered[ind].last()));
   475                   "  _covered[%d].start(): " INTPTR_FORMAT
   475   log_trace(gc, barrier)("    _committed[%d].start(): " INTPTR_FORMAT "  _committed[%d].last(): " INTPTR_FORMAT,
   476                   "  _covered[%d].last(): " INTPTR_FORMAT,
   476                 ind, p2i(_committed[ind].start()), ind, p2i(_committed[ind].last()));
   477                   ind, p2i(_covered[ind].start()),
   477   log_trace(gc, barrier)("    byte_for(start): " INTPTR_FORMAT "  byte_for(last): " INTPTR_FORMAT,
   478                   ind, p2i(_covered[ind].last()));
   478                 p2i(byte_for(_covered[ind].start())),  p2i(byte_for(_covered[ind].last())));
   479     gclog_or_tty->print_cr("  "
   479   log_trace(gc, barrier)("    addr_for(start): " INTPTR_FORMAT "  addr_for(last): " INTPTR_FORMAT,
   480                   "  _committed[%d].start(): " INTPTR_FORMAT
   480                 p2i(addr_for((jbyte*) _committed[ind].start())), p2i(addr_for((jbyte*) _committed[ind].last())));
   481                   "  _committed[%d].last(): " INTPTR_FORMAT,
   481 
   482                   ind, p2i(_committed[ind].start()),
       
   483                   ind, p2i(_committed[ind].last()));
       
   484     gclog_or_tty->print_cr("  "
       
   485                   "  byte_for(start): " INTPTR_FORMAT
       
   486                   "  byte_for(last): " INTPTR_FORMAT,
       
   487                   p2i(byte_for(_covered[ind].start())),
       
   488                   p2i(byte_for(_covered[ind].last())));
       
   489     gclog_or_tty->print_cr("  "
       
   490                   "  addr_for(start): " INTPTR_FORMAT
       
   491                   "  addr_for(last): " INTPTR_FORMAT,
       
   492                   p2i(addr_for((jbyte*) _committed[ind].start())),
       
   493                   p2i(addr_for((jbyte*) _committed[ind].last())));
       
   494   }
       
   495   debug_only(verify_guard();)
   482   debug_only(verify_guard();)
   496 }
   483 }
   497 
   484 
   498 bool CardTableExtension::resize_commit_uncommit(int changed_region,
   485 bool CardTableExtension::resize_commit_uncommit(int changed_region,
   499                                                 MemRegion new_region) {
   486                                                 MemRegion new_region) {