RFR: 8357816: Add test from JDK-8350576

Benoît Maillard duke at openjdk.org
Thu Jun 12 11:54:09 UTC 2025


This PR adds a jtreg test for [JDK-8350576](https://bugs.openjdk.org/browse/JDK-8350576). The test consists of a code sample produced by the fuzzer, and it contains a loop that is supposed to get optimized.

Thanks!

### Testing

- [x] [GitHub Actions](https://github.com/benoitmaillard/jdk/actions?query=branch%3AJDK-8357816)
- [ ] tier1
- [x] Ran the test with a debug build prior to the fix (JDK 25 build 16) and made sure it failed as a sanity check

Shout out to @TobiHartmann for helping out with jtreg

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

Commit messages:
 - 8357816: Update test summary
 - 8357816: Update copyright
 - 8357816: Add jtreg test for bug 8350576

Changes: https://git.openjdk.org/jdk/pull/25774/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25774&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357816
  Stats: 53 lines in 1 file changed: 53 ins; 0 del; 0 mod
  Patch: https://git.openjdk.org/jdk/pull/25774.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25774/head:pull/25774

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


More information about the hotspot-compiler-dev mailing list