RFR: 8372266: Relax store matchers in compiler/escapeAnalysis/TestRematerializeObjects.java test

Aleksey Shipilev shade at openjdk.org
Thu Nov 20 16:56:37 UTC 2025


As you can see in the report, current matchers rely heavily on mainline C2 implementation to match specific stores. This fails when we try to backport MergeStores fixes to 25u. It would be better to relax the matchers a bit to cater for 25u backports, and also making test more robust for future MergeStores changes, if any.

Additional testing:
 - [x] Linux x86_64 server fastdebug, mainline, affected test, 100x
 - [x] Linux AArch64 server fastdebug, mainline, affected test, 100x
 - [x] Linux x86_64 server fastdebug, jdk25u, affected test, 100x

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

Commit messages:
 - Fix

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

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


More information about the hotspot-compiler-dev mailing list