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

dean.long at oracle.com dean.long at oracle.com
Fri Sep 27 18:52:24 UTC 2019


If some GCs don't support JVMCI/AOT, maybe we should turn off the 
EnableJVMCI and UseAOT flags.  Wouldn't that prevent the tests from running?

dl

On 9/27/19 8:26 AM, Aleksey Shipilev wrote:
> Replying with proper "To:". Friday, eh.
>
> On 9/27/19 5:23 PM, Aleksey Shipilev wrote:
>> 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



More information about the hotspot-compiler-dev mailing list