[lilliput-jdk21u:lilliput] RFR: 8340901: [Lilliput/JDK21] Disable some vectorization tests

Roman Kennke rkennke at openjdk.org
Wed Sep 25 11:46:26 UTC 2024


Some C2 vectorization tests are failing with compact headers enabled, because of different array base offsets, and some vector optimizatons only work on word-boundaries.

This change disables affected tests when running with +UCOH, and also adds the machinery to be able to match the JVM flag in applyIf annotation parameters (TestFramework.java). The change is similar to what's proposed in https://github.com/openjdk/jdk/pull/20677, except that some other tests are affected (due to improvements in C2 vectorization since JDK21).

Test:
 - [x] changed tests with -UCOH
 - [x] changed tests with +UCOH

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

Commit messages:
 - 8340901: [Lilliput/JDK21] Disable some vectorization tests

Changes: https://git.openjdk.org/lilliput-jdk21u/pull/35/files
  Webrev: https://webrevs.openjdk.org/?repo=lilliput-jdk21u&pr=35&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340901
  Stats: 16 lines in 4 files changed: 8 ins; 0 del; 8 mod
  Patch: https://git.openjdk.org/lilliput-jdk21u/pull/35.diff
  Fetch: git fetch https://git.openjdk.org/lilliput-jdk21u.git pull/35/head:pull/35

PR: https://git.openjdk.org/lilliput-jdk21u/pull/35


More information about the lilliput-dev mailing list