mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-27 14:54:52 +02:00
8014078: G1: improve remembered set summary information by providing per region type information
Add memory consumption breakdown on a per region type in the G1 remembered set summary statistics. This simplifies remembered set memory consumption analysis. Reviewed-by: brutisso
This commit is contained in:
parent
dc5131c84d
commit
bd9ffce267
7 changed files with 430 additions and 184 deletions
|
@ -731,12 +731,12 @@ bool G1RemSet::refine_card(jbyte* card_ptr, int worker_i,
|
|||
return has_refs_into_cset;
|
||||
}
|
||||
|
||||
void G1RemSet::print_periodic_summary_info() {
|
||||
void G1RemSet::print_periodic_summary_info(const char* header) {
|
||||
G1RemSetSummary current;
|
||||
current.initialize(this, n_workers());
|
||||
|
||||
_prev_period_summary.subtract_from(¤t);
|
||||
print_summary_info(&_prev_period_summary);
|
||||
print_summary_info(&_prev_period_summary, header);
|
||||
|
||||
_prev_period_summary.set(¤t);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue