1.1 --- a/src/share/vm/gc_implementation/g1/sparsePRT.cpp Wed Jun 08 21:48:38 2011 -0400 1.2 +++ b/src/share/vm/gc_implementation/g1/sparsePRT.cpp Fri Jun 10 13:16:40 2011 -0400 1.3 @@ -481,8 +481,9 @@ 1.4 1.5 bool SparsePRT::add_card(RegionIdx_t region_id, CardIdx_t card_index) { 1.6 #if SPARSE_PRT_VERBOSE 1.7 - gclog_or_tty->print_cr(" Adding card %d from region %d to region %d sparse.", 1.8 - card_index, region_id, _hr->hrs_index()); 1.9 + gclog_or_tty->print_cr(" Adding card %d from region %d to region " 1.10 + SIZE_FORMAT" sparse.", 1.11 + card_index, region_id, _hr->hrs_index()); 1.12 #endif 1.13 if (_next->occupied_entries() * 2 > _next->capacity()) { 1.14 expand(); 1.15 @@ -533,8 +534,8 @@ 1.16 _next = new RSHashTable(last->capacity() * 2); 1.17 1.18 #if SPARSE_PRT_VERBOSE 1.19 - gclog_or_tty->print_cr(" Expanded sparse table for %d to %d.", 1.20 - _hr->hrs_index(), _next->capacity()); 1.21 + gclog_or_tty->print_cr(" Expanded sparse table for "SIZE_FORMAT" to %d.", 1.22 + _hr->hrs_index(), _next->capacity()); 1.23 #endif 1.24 for (size_t i = 0; i < last->capacity(); i++) { 1.25 SparsePRTEntry* e = last->entry((int)i);