From 81b26ba8131b74a7bb4309bd3608dda2ba99a6ca Mon Sep 17 00:00:00 2001 From: Emanuel Peter Date: Mon, 1 Dec 2025 06:42:53 +0000 Subject: [PATCH] 8372685: C2 SuperWord: wrong requires in test after JDK-8371146 Reviewed-by: chagedorn, mbaesken --- .../superword/TestAliasingCheckPreLimitNotAvailable.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/hotspot/jtreg/compiler/loopopts/superword/TestAliasingCheckPreLimitNotAvailable.java b/test/hotspot/jtreg/compiler/loopopts/superword/TestAliasingCheckPreLimitNotAvailable.java index e7009e87ae2..e86d6ec2314 100644 --- a/test/hotspot/jtreg/compiler/loopopts/superword/TestAliasingCheckPreLimitNotAvailable.java +++ b/test/hotspot/jtreg/compiler/loopopts/superword/TestAliasingCheckPreLimitNotAvailable.java @@ -27,7 +27,7 @@ * @summary Test where the pre_init was pinned before the pre-loop but after the * Auto_Vectorization_Check, and so it should not be used for the auto * vectorization aliasing check, to avoid a bad (circular) graph. - * @requires vm.gc == "ZGC" | vm.gc == "null" + * @requires vm.gc.Z * @run main/othervm * -XX:+IgnoreUnrecognizedVMOptions * -XX:CompileCommand=compileonly,*TestAliasingCheckPreLimitNotAvailable::test @@ -42,7 +42,7 @@ /* * @test id=all-flags-no-stress-seed * @bug 8371146 - * @requires vm.gc == "ZGC" | vm.gc == "null" + * @requires vm.gc.Z * @run main/othervm * -XX:+IgnoreUnrecognizedVMOptions * -XX:CompileCommand=compileonly,*TestAliasingCheckPreLimitNotAvailable::test