RFR: 8287001: Add warning message when fail to load hsdis libraries
Vladimir Kozlov
kvn at openjdk.java.net
Thu May 19 19:32:43 UTC 2022
On Thu, 19 May 2022 06:37:28 GMT, yuta <duke at openjdk.java.net> wrote:
> When failing to load hsdis(Hot Spot Disassembler) library (because there is no library or hsdis.so is old and so on),
> there is no warning message (only can see info level messages if put -Xlog:os=info).
> This should show a warning message to tell the user that you failed to load libraries for hsdis.
> So I put a warning message to notify this.
>
> e.g.
> `
Can you put the warning into `dll_load()`?
We already print messages there with `-XX:+Vebose` (unfortunately it is available only in debug VM).
Actually consider replacing print statements and `Verbose` check there with UL.
-------------
Changes requested by kvn (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/8782
More information about the hotspot-compiler-dev
mailing list