comparison src/share/vm/gc_implementation/g1/concurrentMark.hpp @ 4914:1534133741c2

8014240: G1: Add remembered set size information to output of G1PrintRegionLivenessInfo Summary: Improve the output of G1PrintRegionLivenessInfo by adding a per-region remembered set size information column Reviewed-by: jwilhelm, johnc
author tschatzl
date Thu, 19 Dec 2013 09:21:18 +0100
parents ea5503c5095e
children 0114a0a4434c
comparison
equal deleted inserted replaced
44:47357a04fd89 45:45ca4ec07225
1222 size_t _hum_used_bytes; 1222 size_t _hum_used_bytes;
1223 size_t _hum_capacity_bytes; 1223 size_t _hum_capacity_bytes;
1224 size_t _hum_prev_live_bytes; 1224 size_t _hum_prev_live_bytes;
1225 size_t _hum_next_live_bytes; 1225 size_t _hum_next_live_bytes;
1226 1226
1227 // Accumulator for the remembered set size
1228 size_t _total_remset_bytes;
1229
1227 static double perc(size_t val, size_t total) { 1230 static double perc(size_t val, size_t total) {
1228 if (total == 0) { 1231 if (total == 0) {
1229 return 0.0; 1232 return 0.0;
1230 } else { 1233 } else {
1231 return 100.0 * ((double) val / (double) total); 1234 return 100.0 * ((double) val / (double) total);