mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-15 10:23:28 +00:00
8359120: Improve warning message when fail to load hsdis library
Reviewed-by: mhaessig, thartmann
This commit is contained in:
parent
eac8f5d2c9
commit
ce9986991d
@ -3463,6 +3463,9 @@ void nmethod::decode2(outputStream* ost) const {
|
||||
if (use_compressed_format && ! compressed_with_comments) {
|
||||
const_cast<nmethod*>(this)->print_constant_pool(st);
|
||||
|
||||
st->bol();
|
||||
st->cr();
|
||||
st->print_cr("Loading hsdis library failed, undisassembled code is shown in MachCode section");
|
||||
//---< Open the output (Marker for post-mortem disassembler) >---
|
||||
st->print_cr("[MachCode]");
|
||||
const char* header = nullptr;
|
||||
@ -3497,6 +3500,9 @@ void nmethod::decode2(outputStream* ost) const {
|
||||
if (compressed_with_comments) {
|
||||
const_cast<nmethod*>(this)->print_constant_pool(st);
|
||||
|
||||
st->bol();
|
||||
st->cr();
|
||||
st->print_cr("Loading hsdis library failed, undisassembled code is shown in MachCode section");
|
||||
//---< Open the output (Marker for post-mortem disassembler) >---
|
||||
st->print_cr("[MachCode]");
|
||||
while ((p < end) && (p != nullptr)) {
|
||||
|
||||
@ -350,6 +350,9 @@ void AbstractDisassembler::decode_abstract(address start, address end, outputStr
|
||||
|
||||
outputStream* st = (ost == nullptr) ? tty : ost;
|
||||
|
||||
st->bol();
|
||||
st->cr();
|
||||
st->print_cr("Loading hsdis library failed, undisassembled code is shown in MachCode section");
|
||||
//---< Open the output (Marker for post-mortem disassembler) >---
|
||||
st->bol();
|
||||
st->print_cr("[MachCode]");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user