Skip to content

Commit 517f13e

Browse files
committed
8229707: [TESTBUG] Some Shenandoah tests assume Server VM by default
Reviewed-by: rkennke
1 parent 0005ab6 commit 517f13e

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @summary Clearing control during final graph reshape causes memory barrier to loose dependency on null check
2727
* @key gc
2828
* @requires vm.gc.Shenandoah & !vm.graal.enabled
29+
* @requires vm.flavor == "server"
2930
* @run main/othervm -XX:-BackgroundCompilation -XX:-UseOnStackReplacement -XX:-TieredCompilation
3031
* -XX:+UnlockExperimentalVMOptions -XX:+UseShenandoahGC
3132
* -XX:+UnlockDiagnosticVMOptions -XX:+StressLCM -XX:+StressGCM

test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
* @summary Test that loop mining arguments are sane
2727
* @key gc
2828
* @requires vm.gc.Shenandoah & !vm.graal.enabled
29+
* @requires vm.flavor == "server"
2930
* @library /test/lib
3031
* @run driver TestLoopMiningArguments
3132
*/

0 commit comments

Comments
 (0)