mirror of
https://github.com/openjdk/jdk.git
synced 2025-09-21 03:24:38 +02:00
6937142: G1: improvements to debugging output (S-M)
Various fixes to the G1 debugging output. Reviewed-by: johnc, iveresov
This commit is contained in:
parent
f5197d0d36
commit
9b4fc8fc23
5 changed files with 133 additions and 88 deletions
|
@ -2942,10 +2942,11 @@ record_concurrent_mark_cleanup_end(size_t freed_bytes,
|
|||
void G1CollectorPolicy::
|
||||
add_to_collection_set(HeapRegion* hr) {
|
||||
if (G1PrintHeapRegions) {
|
||||
gclog_or_tty->print_cr("added region to cset %d:["PTR_FORMAT", "PTR_FORMAT"], "
|
||||
"top "PTR_FORMAT", young %s",
|
||||
hr->hrs_index(), hr->bottom(), hr->end(),
|
||||
hr->top(), (hr->is_young()) ? "YES" : "NO");
|
||||
gclog_or_tty->print_cr("added region to cset "
|
||||
"%d:["PTR_FORMAT", "PTR_FORMAT"], "
|
||||
"top "PTR_FORMAT", %s",
|
||||
hr->hrs_index(), hr->bottom(), hr->end(),
|
||||
hr->top(), hr->is_young() ? "YOUNG" : "NOT_YOUNG");
|
||||
}
|
||||
|
||||
if (_g1->mark_in_progress())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue