RFR/RFC 8231503: [TESTBUG] compiler/{jvmci, aot} tests should not run with GCs that do not support JVMCI/AOT

Aleksey Shipilev shade at redhat.com
Fri Sep 27 15:23:51 UTC 2019


Testbug:
  https://bugs.openjdk.java.net/browse/JDK-8231503

Candidate fix:
  https://cr.openjdk.java.net/~shade/8231503/webrev.01/

I am actually not sure it should be fixed this way. The alternative is to add the @requires lines to
every affected test (there are about a hundred of them), like this:
  @requires (vm.gc == "null" || vm.gc == "G1" || vm.gc = "Serial" || vm.gc = "Parallel")

...but that seems too intrusive. Or maybe not? Open for opinions from those who maintain JVMCI/AOT.

Testing: compiler/aot, compiler/jvmci {serial, parallel, g1, shenandoah, zgc}; tier1

-- 
Thanks,
-Aleksey



More information about the hotspot-compiler-dev mailing list