src/share/vm/gc_implementation/g1/g1HRPrinter.cpp

changeset 9327
f96fcd9e1e1b
parent 6680
78bbf4d43a14
child 9448
73d689add964
     1.1 --- a/src/share/vm/gc_implementation/g1/g1HRPrinter.cpp	Tue Feb 23 18:58:36 2016 -0500
     1.2 +++ b/src/share/vm/gc_implementation/g1/g1HRPrinter.cpp	Thu Jun 14 09:15:08 2018 -0700
     1.3 @@ -84,18 +84,18 @@
     1.4  
     1.5    if (type_str != NULL) {
     1.6      if (top != NULL) {
     1.7 -      gclog_or_tty->print_cr(G1HR_PREFIX" %s(%s) "PTR_FORMAT" "PTR_FORMAT,
     1.8 +      gclog_or_tty->print_cr(G1HR_PREFIX " %s(%s) " PTR_FORMAT " " PTR_FORMAT,
     1.9                               action_str, type_str, bottom, top);
    1.10      } else {
    1.11 -      gclog_or_tty->print_cr(G1HR_PREFIX" %s(%s) "PTR_FORMAT,
    1.12 +      gclog_or_tty->print_cr(G1HR_PREFIX " %s(%s) " PTR_FORMAT,
    1.13                               action_str, type_str, bottom);
    1.14      }
    1.15    } else {
    1.16      if (top != NULL) {
    1.17 -      gclog_or_tty->print_cr(G1HR_PREFIX" %s "PTR_FORMAT" "PTR_FORMAT,
    1.18 +      gclog_or_tty->print_cr(G1HR_PREFIX " %s " PTR_FORMAT " " PTR_FORMAT,
    1.19                               action_str, bottom, top);
    1.20      } else {
    1.21 -      gclog_or_tty->print_cr(G1HR_PREFIX" %s "PTR_FORMAT,
    1.22 +      gclog_or_tty->print_cr(G1HR_PREFIX " %s " PTR_FORMAT,
    1.23                               action_str, bottom);
    1.24      }
    1.25    }
    1.26 @@ -104,11 +104,11 @@
    1.27  void G1HRPrinter::print(ActionType action, HeapWord* bottom, HeapWord* end) {
    1.28    const char* action_str = action_name(action);
    1.29  
    1.30 -  gclog_or_tty->print_cr(G1HR_PREFIX" %s ["PTR_FORMAT","PTR_FORMAT"]",
    1.31 +  gclog_or_tty->print_cr(G1HR_PREFIX " %s [" PTR_FORMAT "," PTR_FORMAT "]",
    1.32                           action_str, bottom, end);
    1.33  }
    1.34  
    1.35  void G1HRPrinter::print(PhaseType phase, size_t phase_num) {
    1.36    const char* phase_str = phase_name(phase);
    1.37 -  gclog_or_tty->print_cr(G1HR_PREFIX" #%s "SIZE_FORMAT, phase_str, phase_num);
    1.38 +  gclog_or_tty->print_cr(G1HR_PREFIX " #%s " SIZE_FORMAT, phase_str, phase_num);
    1.39  }

mercurial