RFR: 8337662: Improve os::print_hex_dump for printing Instructions sections

Matthias Baesken mbaesken at openjdk.org
Thu Aug 1 13:18:54 UTC 2024


Currently we use os::print_hex_dump for printing Instruction sections in the hserr file. The function could be slightly improved, .e.g. by showing directly the pc .
The instructions section would for example look like this, with a small helper '=>' pointing to the pc. Makes the output more readable.

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

Commit messages:
 - JDK-8337662

Changes: https://git.openjdk.org/jdk/pull/20419/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=20419&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8337662
  Stats: 23 lines in 2 files changed: 17 ins; 0 del; 6 mod
  Patch: https://git.openjdk.org/jdk/pull/20419.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/20419/head:pull/20419

PR: https://git.openjdk.org/jdk/pull/20419


More information about the hotspot-runtime-dev mailing list