Skip to content

Commit b2a6484

Browse files
committed
8316178: Better diagnostic header for CodeBlobs
Backport-of: d575968b4bde74bd557cb84e89f0fa0f96b04087
1 parent cdc33dc commit b2a6484

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
@@ -185,7 +185,8 @@ void RuntimeBlob::trace_new_stub(RuntimeBlob* stub, const char* name1, const cha
185185
jio_snprintf(stub_id, sizeof(stub_id), "%s%s", name1, name2);
186186
if (PrintStubCode) {
187187
ttyLocker ttyl;
188-
tty->print_cr("Decoding %s " INTPTR_FORMAT, stub_id, (intptr_t) stub);
188+
tty->print_cr("Decoding %s " PTR_FORMAT " [" PTR_FORMAT ", " PTR_FORMAT "] (%d bytes)",
189+
stub_id, p2i(stub), p2i(stub->code_begin()), p2i(stub->code_end()), stub->code_size());
189190
Disassembler::decode(stub->code_begin(), stub->code_end());
190191
tty->cr();
191192
}

0 commit comments

Comments
 (0)