# HG changeset patch # User cgo # Date 1573812303 -3600 # Node ID fc998c509521f1e4dd4e7e2246d41a8ddd7af9f1 # Parent 580fb715b29d82439ab7174d9277b5eeb9d27514 8231954: Test compiler/codegen/TestCharVect2.java only works with server VMs Reviewed-by: iignatyev, kvn diff -r 580fb715b29d -r fc998c509521 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