Skip to content

Commit d21114d

Browse files
eme64RealCLanger
authored andcommitted
8372685: C2 SuperWord: wrong requires in test after JDK-8371146
Reviewed-by: chagedorn, mbaesken
1 parent 79a6e5d commit d21114d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/hotspot/jtreg/compiler/loopopts/superword/TestAliasingCheckPreLimitNotAvailable.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
* @summary Test where the pre_init was pinned before the pre-loop but after the
2828
* Auto_Vectorization_Check, and so it should not be used for the auto
2929
* vectorization aliasing check, to avoid a bad (circular) graph.
30-
* @requires vm.gc == "ZGC" | vm.gc == "null"
30+
* @requires vm.gc.Z
3131
* @run main/othervm
3232
* -XX:+IgnoreUnrecognizedVMOptions
3333
* -XX:CompileCommand=compileonly,*TestAliasingCheckPreLimitNotAvailable::test
@@ -42,7 +42,7 @@
4242
/*
4343
* @test id=all-flags-no-stress-seed
4444
* @bug 8371146
45-
* @requires vm.gc == "ZGC" | vm.gc == "null"
45+
* @requires vm.gc.Z
4646
* @run main/othervm
4747
* -XX:+IgnoreUnrecognizedVMOptions
4848
* -XX:CompileCommand=compileonly,*TestAliasingCheckPreLimitNotAvailable::test

0 commit comments

Comments
 (0)