RFR (XS) 8229707: [TESTBUG] Some Shenandoah tests assume Server VM by default

Roman Kennke rkennke at redhat.com
Wed Aug 14 18:16:50 UTC 2019


Okidoki.

Roman

> Testbug:
>   https://bugs.openjdk.java.net/browse/JDK-8229707
> 
> x86_32 client VM should not try to run some Shenandoah tests that expect C2 to be there.
> 
> Fix:
> 
> diff -r 6f919024e550 test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java
> --- a/test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java       Wed Aug 14
> 18:52:30 2019 +0200
> +++ b/test/hotspot/jtreg/gc/shenandoah/compiler/TestWriteBarrierClearControl.java       Wed Aug 14
> 19:44:31 2019 +0200
> @@ -27,4 +27,5 @@
>   * @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
> 
> diff -r 6f919024e550 test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java
> --- a/test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java     Wed Aug 14 18:52:30
> 2019 +0200
> +++ b/test/hotspot/jtreg/gc/shenandoah/options/TestLoopMiningArguments.java     Wed Aug 14 19:44:31
> 2019 +0200
> @@ -27,4 +27,5 @@
>   * @key gc
>   * @requires vm.gc.Shenandoah & !vm.graal.enabled
> + * @requires vm.flavor == "server"
>   * @library /test/lib
>   * @run driver TestLoopMiningArguments
> 
> 
> Testing: {x86_32-client, x86_64-server} hotspot_gc_shenandoah
> 




More information about the hotspot-gc-dev mailing list