Hi, Please consider this small test-only change. Seems this test depends on the two optimizations: -XX:+InlineTypePassFieldsAsArgs and -XX:-InlineTypeReturnedAsFields. It fails without either of them. So it might be more reasonable to only enable it for platforms which implement these two optimizations.
Verified on linux-aarch64 platform. ------------- Commit messages: - 8376883: [lworld] Only enable compiler/valhalla/inlinetypes/TestTrivialMethods.java for aarch64 and x86 Changes: https://git.openjdk.org/valhalla/pull/2009/files Webrev: https://webrevs.openjdk.org/?repo=valhalla&pr=2009&range=00 Issue: https://bugs.openjdk.org/browse/JDK-8376883 Stats: 1 line in 1 file changed: 1 ins; 0 del; 0 mod Patch: https://git.openjdk.org/valhalla/pull/2009.diff Fetch: git fetch https://git.openjdk.org/valhalla.git pull/2009/head:pull/2009 PR: https://git.openjdk.org/valhalla/pull/2009
