Skip to content

Commit 93071dc

Browse files
committed
8316178: Better diagnostic header for CodeBlobs
Backport-of: d575968b4bde74bd557cb84e89f0fa0f96b04087
1 parent 125ae25 commit 93071dc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/hotspot/share/code/codeBlob.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,8 @@ void RuntimeBlob::trace_new_stub(RuntimeBlob* stub, const char* name1, const cha
189189
if (PrintStubCode) {
190190
ttyLocker ttyl;
191191
tty->print_cr("- - - [BEGIN] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
192-
tty->print_cr("Decoding %s " INTPTR_FORMAT, stub_id, (intptr_t) stub);
192+
tty->print_cr("Decoding %s " PTR_FORMAT " [" PTR_FORMAT ", " PTR_FORMAT "] (%d bytes)",
193+
stub_id, p2i(stub), p2i(stub->code_begin()), p2i(stub->code_end()), stub->code_size());
193194
Disassembler::decode(stub->code_begin(), stub->code_end(), tty);
194195
if ((stub->oop_maps() != NULL) && AbstractDisassembler::show_structs()) {
195196
tty->print_cr("- - - [OOP MAPS]- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");

0 commit comments

Comments
 (0)