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

Aleksey Shipilev shade at openjdk.org
Wed Nov 26 08:35:13 UTC 2025


On Thu, 20 Nov 2025 16:48:01 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> 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

Found the missing backport in 25u that makes the test mismatch, see the comments in JIRA. So all this is actually moot.

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

PR Comment: https://git.openjdk.org/jdk/pull/28437#issuecomment-3580109287


More information about the hotspot-compiler-dev mailing list