1.1 --- a/src/share/vm/gc_implementation/g1/g1RemSetSummary.cpp Mon Oct 21 14:20:47 2013 +0200 1.2 +++ b/src/share/vm/gc_implementation/g1/g1RemSetSummary.cpp Tue Oct 22 11:50:12 2013 +0200 1.3 @@ -187,19 +187,23 @@ 1.4 size_t code_root_elems() const { return _code_root_elems; } 1.5 1.6 void print_rs_mem_info_on(outputStream * out, size_t total) { 1.7 - out->print_cr(" %8dK (%5.1f%%) by %zd %s regions", round_to_K(rs_mem_size()), rs_mem_size_percent_of(total), amount(), _name); 1.8 + out->print_cr(" "SIZE_FORMAT_W(8)"K (%5.1f%%) by "SIZE_FORMAT" %s regions", 1.9 + round_to_K(rs_mem_size()), rs_mem_size_percent_of(total), amount(), _name); 1.10 } 1.11 1.12 void print_cards_occupied_info_on(outputStream * out, size_t total) { 1.13 - out->print_cr(" %8d (%5.1f%%) entries by %zd %s regions", cards_occupied(), cards_occupied_percent_of(total), amount(), _name); 1.14 + out->print_cr(" "SIZE_FORMAT_W(8)" (%5.1f%%) entries by "SIZE_FORMAT" %s regions", 1.15 + cards_occupied(), cards_occupied_percent_of(total), amount(), _name); 1.16 } 1.17 1.18 void print_code_root_mem_info_on(outputStream * out, size_t total) { 1.19 - out->print_cr(" %8dK (%5.1f%%) by %zd %s regions", round_to_K(code_root_mem_size()), code_root_mem_size_percent_of(total), amount(), _name); 1.20 + out->print_cr(" "SIZE_FORMAT_W(8)"K (%5.1f%%) by "SIZE_FORMAT" %s regions", 1.21 + round_to_K(code_root_mem_size()), code_root_mem_size_percent_of(total), amount(), _name); 1.22 } 1.23 1.24 void print_code_root_elems_info_on(outputStream * out, size_t total) { 1.25 - out->print_cr(" %8d (%5.1f%%) elements by %zd %s regions", code_root_elems(), code_root_elems_percent_of(total), amount(), _name); 1.26 + out->print_cr(" "SIZE_FORMAT_W(8)" (%5.1f%%) elements by "SIZE_FORMAT" %s regions", 1.27 + code_root_elems(), code_root_elems_percent_of(total), amount(), _name); 1.28 } 1.29 }; 1.30 1.31 @@ -327,14 +331,14 @@ 1.32 out->print_cr("\n Recent concurrent refinement statistics"); 1.33 out->print_cr(" Processed "SIZE_FORMAT" cards", 1.34 num_concurrent_refined_cards()); 1.35 - out->print_cr(" Of %d completed buffers:", num_processed_buf_total()); 1.36 - out->print_cr(" %8d (%5.1f%%) by concurrent RS threads.", 1.37 + out->print_cr(" Of "SIZE_FORMAT" completed buffers:", num_processed_buf_total()); 1.38 + out->print_cr(" "SIZE_FORMAT_W(8)" (%5.1f%%) by concurrent RS threads.", 1.39 num_processed_buf_total(), 1.40 percent_of(num_processed_buf_rs_threads(), num_processed_buf_total())); 1.41 - out->print_cr(" %8d (%5.1f%%) by mutator threads.", 1.42 + out->print_cr(" "SIZE_FORMAT_W(8)" (%5.1f%%) by mutator threads.", 1.43 num_processed_buf_mutator(), 1.44 percent_of(num_processed_buf_mutator(), num_processed_buf_total())); 1.45 - out->print_cr(" Did %d coarsenings.", num_coarsenings()); 1.46 + out->print_cr(" Did "SIZE_FORMAT" coarsenings.", num_coarsenings()); 1.47 out->print_cr(" Concurrent RS threads times (s)"); 1.48 out->print(" "); 1.49 for (uint i = 0; i < _num_vtimes; i++) {