Skip to content

Commit

Permalink
8316178: Better diagnostic header for CodeBlobs
Browse files Browse the repository at this point in the history
Backport-of: d575968b4bde74bd557cb84e89f0fa0f96b04087
  • Loading branch information
shipilev committed Sep 22, 2023
1 parent cdc33dc commit b2a6484
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/hotspot/share/code/codeBlob.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,8 @@ void RuntimeBlob::trace_new_stub(RuntimeBlob* stub, const char* name1, const cha
jio_snprintf(stub_id, sizeof(stub_id), "%s%s", name1, name2);
if (PrintStubCode) {
ttyLocker ttyl;
tty->print_cr("Decoding %s " INTPTR_FORMAT, stub_id, (intptr_t) stub);
tty->print_cr("Decoding %s " PTR_FORMAT " [" PTR_FORMAT ", " PTR_FORMAT "] (%d bytes)",
stub_id, p2i(stub), p2i(stub->code_begin()), p2i(stub->code_end()), stub->code_size());
Disassembler::decode(stub->code_begin(), stub->code_end());
tty->cr();
}
Expand Down

0 comments on commit b2a6484

Please sign in to comment.