8231954: Test compiler/codegen/TestCharVect2.java only works with server VMs
Reviewed-by: iignatyev, kvn
--- a/test/hotspot/jtreg/compiler/codegen/TestCharVect2.java Tue Nov 19 11:35:29 2019 +0000
+++ b/test/hotspot/jtreg/compiler/codegen/TestCharVect2.java Fri Nov 15 11:05:03 2019 +0100
@@ -24,9 +24,17 @@
/**
* @test
* @bug 8001183
- * @summary incorrect results of char vectors right shift operaiton
+ * @summary incorrect results of char vectors right shift operation
*
* @run main/othervm/timeout=400 -Xbatch -Xmx128m compiler.codegen.TestCharVect2
+ */
+
+/**
+ * @test
+ * @bug 8001183
+ * @summary incorrect results of char vectors right shift operation
+ * @requires vm.compiler2.enabled | vm.graal.enabled
+ *
* @run main/othervm/timeout=400 -Xbatch -Xmx128m -XX:MaxVectorSize=8 compiler.codegen.TestCharVect2
* @run main/othervm/timeout=400 -Xbatch -Xmx128m -XX:MaxVectorSize=16 compiler.codegen.TestCharVect2
* @run main/othervm/timeout=400 -Xbatch -Xmx128m -XX:MaxVectorSize=32 compiler.codegen.TestCharVect2