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
Tue Apr 22 21:40:50 UTC 2025


On Fri, 18 Apr 2025 18:15:21 GMT, Chris Plummer <cjplummer at openjdk.org> wrote:

> Please run all the SA tests in test/hotspot/jtreg/serviceability/sa and test/jdk/sun/tools/jhsdb on all our supported platforms.

Local testing on Linux completed successfully; had to reconfigure ptrace, otherwise many tests were skipped. Mach5 still in progress.

> Also test by hand attaching to both a core file and a process just to make sure you haven't turned any expected debug messages into error messages.

Done (Linux only, I don't have access to a Mac). I didn't observe any unintended error messages. Also, I only added print_error in places where it guaranteed a failure of Pgrab or Pgrab_core.

-------------

PR Comment: https://git.openjdk.org/jdk/pull/24722#issuecomment-2822539612


More information about the serviceability-dev mailing list