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
Tue Jan 19 08:35:51 UTC 2021


On Mon, 18 Jan 2021 20:30:43 GMT, Vladimir Kozlov <kvn at openjdk.org> wrote:

>> Tobias Hartmann has updated the pull request incrementally with one additional commit since the last revision:
>> 
>>   Removed TieredCompilation flag from compilation level 4 tests
>
> 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`
> 
> Also when requested level 4 compilation (*_compilation_level4_* tests) you don't need to force -XX:+TieredCompilation.

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?

> Also when requested level 4 compilation (compilation_level4 tests) you don't need to force -XX:+TieredCompilation.

Right, I've updated the corresponding tests.

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

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



More information about the hotspot-gc-dev mailing list