RFR: 8258383: vmTestbase/gc/g1/unloading/tests/unloading_compilation_level[1, 2, 3] time out without TieredCompilation [v2]

Tobias Hartmann thartmann at openjdk.java.net
Wed Jan 20 08:13:51 UTC 2021


On Tue, 19 Jan 2021 18:15:05 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Good.
>
>> Thanks for the review Vladimir.
>> 
>> > I see such requires patter in other tests too.
>> > But what will happen if server VM is built without C1 - no tiered?
>> > Such tests may need additions requires vm.compiler1.enabled
>> 
>> Yes, I've took that pattern from other tests. The problem with `requires vm.compiler1.enabled` is that the test will be skipped if `-XX:-TieredCompilation` is set (because then C1 is not available). Since this is a general problem that affects other tests as well, I think it should be addressed separately if necessary. What do you think?
> 
> Yes, you are right about switching off C1 with TieredCompilation flag. Current changes are fine.
> I agree with addressing C1 absence from VM build in separate changes. I think we need additional `requires` feature to check if C1/C2 are included in VM build. `vm.server` is not enough.

Thanks for the review, Vladimir!

-------------

PR: https://git.openjdk.java.net/jdk/pull/2125



More information about the hotspot-gc-dev mailing list