RFR: 8365262: [IR-Framework] Add simple way to add cross-product of flags

Manuel Hässig mhaessig at openjdk.org
Wed Aug 13 14:45:02 UTC 2025


This PR adds the `TestFramework::addCrossProductScenarios` method to enable more ergonomic testing of the combination of all flag combinations. To illustrate its use, I also converted one test to use the new cross product functionality.

Testing:
 - [ ] Github Actions
 - [ ] tier1,tier2 plus some internal testing on Oracle supported platforms

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

Commit messages:
 - Convert test to cross product scenarios
 - Add TestFramework::addCrossProductScenarios

Changes: https://git.openjdk.org/jdk/pull/26762/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=26762&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8365262
  Stats: 146 lines in 4 files changed: 134 ins; 8 del; 4 mod
  Patch: https://git.openjdk.org/jdk/pull/26762.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/26762/head:pull/26762

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


More information about the hotspot-compiler-dev mailing list