src/share/vm/gc_implementation/g1/concurrentMark.hpp

changeset 5548
5888334c9c24
parent 5237
f2110083203d
child 6385
58fc1b1523dc
equal deleted inserted replaced
5519:bd902affe102 5548:5888334c9c24
1255 size_t _hum_next_live_bytes; 1255 size_t _hum_next_live_bytes;
1256 1256
1257 // Accumulator for the remembered set size 1257 // Accumulator for the remembered set size
1258 size_t _total_remset_bytes; 1258 size_t _total_remset_bytes;
1259 1259
1260 // Accumulator for strong code roots memory size
1261 size_t _total_strong_code_roots_bytes;
1262
1260 static double perc(size_t val, size_t total) { 1263 static double perc(size_t val, size_t total) {
1261 if (total == 0) { 1264 if (total == 0) {
1262 return 0.0; 1265 return 0.0;
1263 } else { 1266 } else {
1264 return 100.0 * ((double) val / (double) total); 1267 return 100.0 * ((double) val / (double) total);

mercurial