RFR: 8343343: Misc crash dump improvements on more platforms after JDK-8294160
Martin Doerr
mdoerr at openjdk.org
Thu Oct 31 15:16:46 UTC 2024
[JDK-8294160](https://bugs.openjdk.org/browse/JDK-8294160) has improved `os::print_tos_pc` for some platforms. This PR extends it to all platforms. I have moved it into shared code and made it generic.
In addition, `fetch_frame_from_context(const void* ucVoid)` checks the pc on all platforms, now. If it's bad, we use the caller PC instead.
-------------
Commit messages:
- 8343343: Misc crash dump improvements on more platforms after JDK-8294160
Changes: https://git.openjdk.org/jdk/pull/21809/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=21809&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8343343
Stats: 270 lines in 14 files changed: 57 ins; 208 del; 5 mod
Patch: https://git.openjdk.org/jdk/pull/21809.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21809/head:pull/21809
PR: https://git.openjdk.org/jdk/pull/21809
More information about the hotspot-runtime-dev
mailing list