RFR: 8368787: Error reporting: hs_err files should show instructions when referencing code in nmethods [v4]

Martin Doerr mdoerr at openjdk.org
Wed Oct 22 14:26:06 UTC 2025


On Wed, 22 Oct 2025 14:16:19 GMT, Matthias Baesken <mbaesken at openjdk.org> wrote:

> Could the new 'nmethod::print_code_snippet' coding crash under some bad circumstances ? If so, maybe we might need a way to disable it easily.

Unlikely, and if it does, we still have the raw values and `REATTEMPT_STEP_IF` in `VMError::report`. So, it doesn't look more dangerous to me than other things we are doing, there. Do you have any specific concern?

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

PR Comment: https://git.openjdk.org/jdk/pull/27530#issuecomment-3432627188


More information about the hotspot-compiler-dev mailing list