src/share/vm/code/nmethod.cpp

changeset 9327
f96fcd9e1e1b
parent 9291
a2c8195708cc
child 9355
792ccf73293a
     1.1 --- a/src/share/vm/code/nmethod.cpp	Tue Feb 23 18:58:36 2016 -0500
     1.2 +++ b/src/share/vm/code/nmethod.cpp	Thu Jun 14 09:15:08 2018 -0700
     1.3 @@ -2323,7 +2323,7 @@
     1.4    void maybe_print(oop* p) {
     1.5      if (_print_nm == NULL)  return;
     1.6      if (!_detected_scavenge_root)  _print_nm->print_on(tty, "new scavenge root");
     1.7 -    tty->print_cr(""PTR_FORMAT"[offset=%d] detected scavengable oop "PTR_FORMAT" (found at "PTR_FORMAT")",
     1.8 +    tty->print_cr("" PTR_FORMAT "[offset=%d] detected scavengable oop " PTR_FORMAT " (found at " PTR_FORMAT ")",
     1.9                    _print_nm, (int)((intptr_t)p - (intptr_t)_print_nm),
    1.10                    (void *)(*p), (intptr_t)p);
    1.11      (*p)->print();
    1.12 @@ -2704,7 +2704,7 @@
    1.13        _nm->print_nmethod(true);
    1.14        _ok = false;
    1.15      }
    1.16 -    tty->print_cr("*** non-oop "PTR_FORMAT" found at "PTR_FORMAT" (offset %d)",
    1.17 +    tty->print_cr("*** non-oop " PTR_FORMAT " found at " PTR_FORMAT " (offset %d)",
    1.18                    (void *)(*p), (intptr_t)p, (int)((intptr_t)p - (intptr_t)_nm));
    1.19    }
    1.20    virtual void do_oop(narrowOop* p) { ShouldNotReachHere(); }
    1.21 @@ -2828,7 +2828,7 @@
    1.22        _nm->print_nmethod(true);
    1.23        _ok = false;
    1.24      }
    1.25 -    tty->print_cr("*** scavengable oop "PTR_FORMAT" found at "PTR_FORMAT" (offset %d)",
    1.26 +    tty->print_cr("*** scavengable oop " PTR_FORMAT " found at " PTR_FORMAT " (offset %d)",
    1.27                    (void *)(*p), (intptr_t)p, (int)((intptr_t)p - (intptr_t)_nm));
    1.28      (*p)->print();
    1.29    }
    1.30 @@ -2873,7 +2873,7 @@
    1.31    print_on(tty, NULL);
    1.32  
    1.33    if (WizardMode) {
    1.34 -    tty->print("((nmethod*) "INTPTR_FORMAT ") ", this);
    1.35 +    tty->print("((nmethod*) " INTPTR_FORMAT ") ", this);
    1.36      tty->print(" for method " INTPTR_FORMAT , (address)method());
    1.37      tty->print(" { ");
    1.38      if (is_in_use())      tty->print("in_use ");

mercurial