Integrated: 8371385: compiler/escapeAnalysis/TestRematerializeObjects.java fails in case of -XX:-UseUnalignedAccesses
Fei Yang
fyang at openjdk.org
Fri Nov 7 10:12:50 UTC 2025
On Thu, 6 Nov 2025 03:11:14 GMT, Fei Yang <fyang at openjdk.org> wrote:
> Hi, Please consider this small change fixing a test failure.
>
> Two IR rules failed under -XX:-EliminateAllocations on platforms with -XX:-UseUnalignedAccesses.
> These are expecting MergeStores to combine and emit StoreL or StoreI. But the enablement of MergeStores
> depends on flag UseUnalignedAccesses [1]. So this simply add that condition to applyIf of the two IR rules.
>
> [1] https://github.com/openjdk/jdk/blob/master/src/hotspot/share/opto/memnode.cpp#L3455
This pull request has now been integrated.
Changeset: 59d23095
Author: Fei Yang <fyang at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/59d23095789bbb6d4e466bcbeb82089b17d78eae
Stats: 4 lines in 1 file changed: 0 ins; 0 del; 4 mod
8371385: compiler/escapeAnalysis/TestRematerializeObjects.java fails in case of -XX:-UseUnalignedAccesses
Reviewed-by: chagedorn, dfenacci
-------------
PR: https://git.openjdk.org/jdk/pull/28171
More information about the hotspot-compiler-dev
mailing list