RFR: JDK-8322572: AllocationMergesTests.java fails with "IRViolationException: There were one or multiple IR rule failures."

Cesar Soares Lucas cslucas at openjdk.org
Wed Jan 17 22:28:09 UTC 2024


Please review this PR to fix a test in `AllocationMergesTest.java`. The test was failing intermittently because of a random value used as parameter was causing some randomization in the shape method's IR graph and consequently the optimization tested wasn't happening.

Tested this locally on Mac, Win and Linux x86_64.

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

Commit messages:
 - Fix TestLoadAfterLoopAlias in AllocationMergesTests

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

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


More information about the hotspot-compiler-dev mailing list