RFR: 8275031: runtime/ErrorHandling/MachCodeFramesInErrorFile.java fails when hsdis is present

Aleksey Shipilev shade at openjdk.java.net
Mon Oct 11 09:59:36 UTC 2021


tier1 test that is newly added by [JDK-8272586](https://bugs.openjdk.java.net/browse/JDK-8272586) fails on hsdis-enabled machine. I chose to fix it by annotating the real disassembly with `[Disassembly]`, and checking for its existence in the test.

Additional testing:
 - [x] Test now passes when `hsdis` is installed
 - [x] Test still passes when `hsdis` is not installed

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

Commit messages:
 - Fix

Changes: https://git.openjdk.java.net/jdk/pull/5888/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5888&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8275031
  Stats: 9 lines in 2 files changed: 9 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5888.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5888/head:pull/5888

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


More information about the hotspot-dev mailing list