RFR: 8354920: SA core file support on Linux only prints error messages when debug logging is enabled [v2]
Daniel Jeliński
djelinski at openjdk.org
Fri Apr 18 09:30:24 UTC 2025
> Currently if loading a core file fails, the diagnostic information provided on different systems is different; on MacOS we produce an error message, while on Linux we only print information if debug logging is enabled.
>
> This PR adds some new messages on Linux to match MacOSX, and changes some of the diagnostic output to error level instead of debug. Additionally, if opening the core or the exe file fails, the system error message (strerror) is printed.
>
> Tier1-3 testing clean.
Daniel Jeliński has updated the pull request incrementally with eight additional commits since the last revision:
- Update copyright
- Add more error messages
- Add more error messages
- Add more error messages
- Add more error messages
- Add more error messages
- Add more error messages
- Add more error messages
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/24722/files
- new: https://git.openjdk.org/jdk/pull/24722/files/08a4731d..a9341c3a
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=24722&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=24722&range=00-01
Stats: 92 lines in 6 files changed: 43 ins; 0 del; 49 mod
Patch: https://git.openjdk.org/jdk/pull/24722.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/24722/head:pull/24722
PR: https://git.openjdk.org/jdk/pull/24722
More information about the serviceability-dev
mailing list