changeset 55986:ececb6dae777 jdk-14+10

8229707: [TESTBUG] Some Shenandoah tests assume Server VM by default Reviewed-by: rkennke
author shade
date Wed, 14 Aug 2019 20:32:44 +0200
parents 9bddbd69351c
children 7284b00e6db3
files test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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
  */