RFR: 8272586: emit abstract machine code in hs-err logs

Doug Simon dnsimon at openjdk.java.net
Wed Oct 6 14:30:34 UTC 2021


This enhances hs-err logs to:
* Show the [abstract machine code](https://bugs.openjdk.java.net/browse/JDK-8213084) of the crashing frame if a disassembler is not installed.
* Show machine code for the top frames on the native stack.

An interpreter or stub frame is only shown if it is the crashing frame.

A sample of the enhanced hs-err log can be seen [here](https://bugs.openjdk.java.net/secure/attachment/96664/hs_err_pid7179.log).

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

Commit messages:
 - dump machine code in hs-err log for top frames on native stack and use abstract assembly if a disassembler is not installed

Changes: https://git.openjdk.java.net/jdk/pull/5446/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5446&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8272586
  Stats: 279 lines in 4 files changed: 235 ins; 28 del; 16 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5446.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5446/head:pull/5446

PR: https://git.openjdk.java.net/jdk/pull/5446


More information about the hotspot-dev mailing list