Skip to content

Commit d575968

Browse files
committed
8316178: Better diagnostic header for CodeBlobs
Reviewed-by: thartmann, kvn
1 parent bfbc41c commit d575968

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
@@ -204,7 +204,8 @@ void RuntimeBlob::trace_new_stub(RuntimeBlob* stub, const char* name1, const cha
204204
if (PrintStubCode) {
205205
ttyLocker ttyl;
206206
tty->print_cr("- - - [BEGIN] - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -");
207-
tty->print_cr("Decoding %s " INTPTR_FORMAT, stub_id, (intptr_t) stub);
207+
tty->print_cr("Decoding %s " PTR_FORMAT " [" PTR_FORMAT ", " PTR_FORMAT "] (%d bytes)",
208+
stub_id, p2i(stub), p2i(stub->code_begin()), p2i(stub->code_end()), stub->code_size());
208209
Disassembler::decode(stub->code_begin(), stub->code_end(), tty
209210
NOT_PRODUCT(COMMA &stub->asm_remarks()));
210211
if ((stub->oop_maps() != nullptr) && AbstractDisassembler::show_structs()) {

0 commit comments

Comments
 (0)