8231954: Test compiler/codegen/TestCharVect2.java only works with server VMs
authorcgo
Fri, 15 Nov 2019 11:05:03 +0100
changeset 59136 fc998c509521
parent 59133 580fb715b29d
child 59137 faac483dfb30
8231954: Test compiler/codegen/TestCharVect2.java only works with server VMs Reviewed-by: iignatyev, kvn
test/hotspot/jtreg/compiler/codegen/TestCharVect2.java
--- 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