--- a/src/hotspot/share/runtime/stubCodeGenerator.cpp Tue May 21 11:45:37 2019 +0200
+++ b/src/hotspot/share/runtime/stubCodeGenerator.cpp Tue May 21 15:51:35 2019 +0200
@@ -60,7 +60,7 @@
st->print("%s", group());
st->print("::");
st->print("%s", name());
- st->print(" [" INTPTR_FORMAT ", " INTPTR_FORMAT "[ (%d bytes)", p2i(begin()), p2i(end()), size_in_bytes());
+ st->print(" [" INTPTR_FORMAT ", " INTPTR_FORMAT "] (%d bytes)", p2i(begin()), p2i(end()), size_in_bytes());
}
void StubCodeDesc::print() const { print_on(tty); }
@@ -98,9 +98,12 @@
// of this stub.
offset = cdesc->begin() - outer_cbuf->insts()->start();
#endif
- cdesc->print();
+ ttyLocker ttyl;
+ tty->print_cr("- - - [BEGIN] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
+ cdesc->print_on(tty);
tty->cr();
- Disassembler::decode(cdesc->begin(), cdesc->end(), NULL, cs, offset);
+ Disassembler::decode(cdesc->begin(), cdesc->end(), tty, cs /*, offset */);
+ tty->print_cr("- - - [END] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
tty->cr();
}
}