[jdk21u-dev] RFR: 8324641: [IR Framework] Add Setup method to provide custom arguments and set fields

Aleksey Shipilev shade at openjdk.org
Mon Aug 12 10:44:21 UTC 2024


Improves IR Framework, allows backporting IR Tests without modifications. Applies nearly cleanly, except the hunk in `compiler/c2/irTests/TestTestRemovalPeephole.java`, since this file does not exist in JDK 21.

Additional testing:
 - [x] Grep `@Arguments` yields no unfixed cases in test suite
 - [x] MacOS AArch64 server fastdebug, `testlibrary_tests/ir_framework compiler/c2/irTests`
 - [ ]  Linux AArch64 server release, `testlibrary_tests/ir_framework compiler/c2/irTests`
 - [ ]  Linux AArch64 server fastdebug, `testlibrary_tests/ir_framework compiler/c2/irTests`

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

Commit messages:
 - Backport 8d9ad97c293b090fbcedbfdb046f1b5d97b02f87

Changes: https://git.openjdk.org/jdk21u-dev/pull/911/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk21u-dev&pr=911&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8324641
  Stats: 1156 lines in 27 files changed: 899 ins; 52 del; 205 mod
  Patch: https://git.openjdk.org/jdk21u-dev/pull/911.diff
  Fetch: git fetch https://git.openjdk.org/jdk21u-dev.git pull/911/head:pull/911

PR: https://git.openjdk.org/jdk21u-dev/pull/911


More information about the jdk-updates-dev mailing list