>From the bug report: jdk/.github/scripts/gen-test-results.sh is capable of capture hs_err_* file for erroneous and failed tests. They are also exposed under tag `<details><summary>View HotSpot error log</summary>`.
I think we can do the same thing for replay files. A replay file is automatically generated when compiler threads encounter a fatal error. sometimes, we can only trigger the compilation error on GHA. attached replay file is invaluable. --- I have not figured out how to provoke a replay file on GHA, so this is untested, but since it is based on the hs_err logic I'm pretty confident that it works. If it turns out to be problematic, let's fix it in a follow up. ------------- Commit messages: - 8323637: Capture hotspot replay files in GHA Changes: https://git.openjdk.org/jdk/pull/17392/files Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=17392&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8323637 Stats: 17 lines in 1 file changed: 15 ins; 1 del; 1 mod Patch: https://git.openjdk.org/jdk/pull/17392.diff Fetch: git fetch https://git.openjdk.org/jdk.git pull/17392/head:pull/17392 PR: https://git.openjdk.org/jdk/pull/17392