8229707: [TESTBUG] Some Shenandoah tests assume Server VM by default jdk-14+10
authorshade
Wed, 14 Aug 2019 20:32:44 +0200
changeset 57749 ececb6dae777
parent 57748 9bddbd69351c
child 57751 7284b00e6db3
8229707: [TESTBUG] Some Shenandoah tests assume Server VM by default Reviewed-by: rkennke
test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java
test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java
--- a/test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java	Wed Aug 14 20:32:43 2019 +0200
+++ b/test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java	Wed Aug 14 20:32:44 2019 +0200
@@ -26,6 +26,7 @@
  * @summary Clearing control during final graph reshape causes memory barrier to loose dependency on null check
  * @key gc
  * @requires vm.gc.Shenandoah & !vm.graal.enabled
+ * @requires vm.flavor == "server"
  * @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:-TieredCompilation
  *                   -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC
  *                   -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM -XX:+StressGCM
--- a/test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java	Wed Aug 14 20:32:43 2019 +0200
+++ b/test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java	Wed Aug 14 20:32:44 2019 +0200
@@ -26,6 +26,7 @@
  * @summary Test that loop mining arguments are sane
  * @key gc
  * @requires vm.gc.Shenandoah & !vm.graal.enabled
+ * @requires vm.flavor == "server"
  * @library /test/lib
  * @run driver TestLoopMiningArguments
  */