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

Vladimir Kozlov kvn at openjdk.java.net
Mon Jan 18 20:33:47 UTC 2021


On Mon, 18 Jan 2021 12:44:17 GMT, Tobias Hartmann <thartmann at openjdk.org> wrote:

> The test gets stuck while waiting for a compilation to succeed, because the corresponding compilation level is not available since Tiered Compilation is disabled (or `TieredStopAtLevel` is set). The tests should not be executed without Tiered Compilation (or if the requested compilation level is not available) and also check the output of `enqueueMethodForCompilation` for sanity.
> 
> Thanks,
> Tobias

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.

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

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



More information about the hotspot-gc-dev mailing list