Mercurial > hg > graal-jvmci-8
comparison src/share/vm/gc_implementation/g1/g1RemSet.cpp @ 12339:c319b188c7b2
8014078: G1: improve remembered set summary information by providing per region type information
Summary: 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
author | tschatzl |
---|---|
date | Thu, 26 Sep 2013 12:49:45 +0200 |
parents | 5888334c9c24 |
children | d55c004e1d4d |
comparison
equal
deleted
inserted
replaced
12306:03f493ce3a71 | 12339:c319b188c7b2 |
---|---|
729 "invalid result at non safepoint"); | 729 "invalid result at non safepoint"); |
730 | 730 |
731 return has_refs_into_cset; | 731 return has_refs_into_cset; |
732 } | 732 } |
733 | 733 |
734 void G1RemSet::print_periodic_summary_info() { | 734 void G1RemSet::print_periodic_summary_info(const char* header) { |
735 G1RemSetSummary current; | 735 G1RemSetSummary current; |
736 current.initialize(this, n_workers()); | 736 current.initialize(this, n_workers()); |
737 | 737 |
738 _prev_period_summary.subtract_from(¤t); | 738 _prev_period_summary.subtract_from(¤t); |
739 print_summary_info(&_prev_period_summary); | 739 print_summary_info(&_prev_period_summary, header); |
740 | 740 |
741 _prev_period_summary.set(¤t); | 741 _prev_period_summary.set(¤t); |
742 } | 742 } |
743 | 743 |
744 void G1RemSet::print_summary_info() { | 744 void G1RemSet::print_summary_info() { |