1.1 --- a/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp Tue Feb 23 18:58:36 2016 -0500 1.2 +++ b/src/share/vm/gc_implementation/g1/g1BlockOffsetTable.cpp Thu Jun 14 09:15:08 2018 -0700 1.3 @@ -385,11 +385,11 @@ 1.4 HeapWord* card_addr = _array->address_for_index(card); 1.5 HeapWord* block_start = block_start_const(card_addr); 1.6 if (block_start != obj_start) { 1.7 - gclog_or_tty->print_cr("block start: "PTR_FORMAT" is incorrect - " 1.8 - "card index: "SIZE_FORMAT" " 1.9 - "card addr: "PTR_FORMAT" BOT entry: %u " 1.10 - "obj: "PTR_FORMAT" word size: "SIZE_FORMAT" " 1.11 - "cards: ["SIZE_FORMAT","SIZE_FORMAT"]", 1.12 + gclog_or_tty->print_cr("block start: " PTR_FORMAT " is incorrect - " 1.13 + "card index: " SIZE_FORMAT " " 1.14 + "card addr: " PTR_FORMAT " BOT entry: %u " 1.15 + "obj: " PTR_FORMAT " word size: " SIZE_FORMAT " " 1.16 + "cards: [" SIZE_FORMAT "," SIZE_FORMAT "]", 1.17 block_start, card, card_addr, 1.18 _array->offset_array(card), 1.19 obj_start, word_size, first_card, last_card); 1.20 @@ -404,11 +404,11 @@ 1.21 G1BlockOffsetArray::print_on(outputStream* out) { 1.22 size_t from_index = _array->index_for(_bottom); 1.23 size_t to_index = _array->index_for(_end); 1.24 - out->print_cr(">> BOT for area ["PTR_FORMAT","PTR_FORMAT") " 1.25 - "cards ["SIZE_FORMAT","SIZE_FORMAT")", 1.26 + out->print_cr(">> BOT for area [" PTR_FORMAT "," PTR_FORMAT ") " 1.27 + "cards [" SIZE_FORMAT "," SIZE_FORMAT ")", 1.28 _bottom, _end, from_index, to_index); 1.29 for (size_t i = from_index; i < to_index; ++i) { 1.30 - out->print_cr(" entry "SIZE_FORMAT_W(8)" | "PTR_FORMAT" : %3u", 1.31 + out->print_cr(" entry " SIZE_FORMAT_W(8) " | " PTR_FORMAT " : %3u", 1.32 i, _array->address_for_index(i), 1.33 (uint) _array->offset_array(i)); 1.34 } 1.35 @@ -488,7 +488,7 @@ 1.36 void 1.37 G1BlockOffsetArrayContigSpace::print_on(outputStream* out) { 1.38 G1BlockOffsetArray::print_on(out); 1.39 - out->print_cr(" next offset threshold: "PTR_FORMAT, _next_offset_threshold); 1.40 - out->print_cr(" next offset index: "SIZE_FORMAT, _next_offset_index); 1.41 + out->print_cr(" next offset threshold: " PTR_FORMAT, _next_offset_threshold); 1.42 + out->print_cr(" next offset index: " SIZE_FORMAT, _next_offset_index); 1.43 } 1.44 #endif // !PRODUCT