mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 19:44:41 +02:00
8145092: Use Unified Logging for the GC logging
JEP-271. VM changes contributed by brutisso, test changes contributed by david. Co-authored-by: David Lindholm <david.lindholm@oralce.com> Reviewed-by: sjohanss, david, brutisso
This commit is contained in:
parent
581eb19018
commit
ffeb0bdad0
200 changed files with 3331 additions and 6147 deletions
|
@ -468,30 +468,17 @@ void CardTableExtension::resize_covered_region_by_end(int changed_region,
|
|||
// Update the covered region
|
||||
resize_update_covered_table(changed_region, new_region);
|
||||
|
||||
if (TraceCardTableModRefBS) {
|
||||
int ind = changed_region;
|
||||
gclog_or_tty->print_cr("CardTableModRefBS::resize_covered_region: ");
|
||||
gclog_or_tty->print_cr(" "
|
||||
" _covered[%d].start(): " INTPTR_FORMAT
|
||||
" _covered[%d].last(): " INTPTR_FORMAT,
|
||||
ind, p2i(_covered[ind].start()),
|
||||
ind, p2i(_covered[ind].last()));
|
||||
gclog_or_tty->print_cr(" "
|
||||
" _committed[%d].start(): " INTPTR_FORMAT
|
||||
" _committed[%d].last(): " INTPTR_FORMAT,
|
||||
ind, p2i(_committed[ind].start()),
|
||||
ind, p2i(_committed[ind].last()));
|
||||
gclog_or_tty->print_cr(" "
|
||||
" byte_for(start): " INTPTR_FORMAT
|
||||
" byte_for(last): " INTPTR_FORMAT,
|
||||
p2i(byte_for(_covered[ind].start())),
|
||||
p2i(byte_for(_covered[ind].last())));
|
||||
gclog_or_tty->print_cr(" "
|
||||
" addr_for(start): " INTPTR_FORMAT
|
||||
" addr_for(last): " INTPTR_FORMAT,
|
||||
p2i(addr_for((jbyte*) _committed[ind].start())),
|
||||
p2i(addr_for((jbyte*) _committed[ind].last())));
|
||||
}
|
||||
int ind = changed_region;
|
||||
log_trace(gc, barrier)("CardTableModRefBS::resize_covered_region: ");
|
||||
log_trace(gc, barrier)(" _covered[%d].start(): " INTPTR_FORMAT " _covered[%d].last(): " INTPTR_FORMAT,
|
||||
ind, p2i(_covered[ind].start()), ind, p2i(_covered[ind].last()));
|
||||
log_trace(gc, barrier)(" _committed[%d].start(): " INTPTR_FORMAT " _committed[%d].last(): " INTPTR_FORMAT,
|
||||
ind, p2i(_committed[ind].start()), ind, p2i(_committed[ind].last()));
|
||||
log_trace(gc, barrier)(" byte_for(start): " INTPTR_FORMAT " byte_for(last): " INTPTR_FORMAT,
|
||||
p2i(byte_for(_covered[ind].start())), p2i(byte_for(_covered[ind].last())));
|
||||
log_trace(gc, barrier)(" addr_for(start): " INTPTR_FORMAT " addr_for(last): " INTPTR_FORMAT,
|
||||
p2i(addr_for((jbyte*) _committed[ind].start())), p2i(addr_for((jbyte*) _committed[ind].last())));
|
||||
|
||||
debug_only(verify_guard();)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue