Integrated: 8354920: SA core file support on Linux only prints error messages when debug logging is enabled
Daniel Jeliński
djelinski at openjdk.org
Wed Apr 23 05:19:52 UTC 2025
On Thu, 17 Apr 2025 12:27:55 GMT, Daniel Jeliński <djelinski at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 9a2b425b
Author: Daniel Jeliński <djelinski at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/9a2b425b13cc468d8627c1548d1d39015ce17af1
Stats: 114 lines in 6 files changed: 52 ins; 0 del; 62 mod
8354920: SA core file support on Linux only prints error messages when debug logging is enabled
Reviewed-by: cjplummer, kevinw
-------------
PR: https://git.openjdk.org/jdk/pull/24722
More information about the serviceability-dev
mailing list