RFR: 8273335: compiler/blackhole tests should not run with interpreter-only VMs

Vladimir Kozlov kvn at openjdk.java.net
Fri Sep 3 16:45:24 UTC 2021


On Fri, 3 Sep 2021 15:45:20 GMT, Aleksey Shipilev <shade at openjdk.org> wrote:

> This affects Zero, as it runs these tests expecting `CompilerCommand`s to work. Which are obviously missing since there are no compilers configured. Since [JDK-8255718](https://bugs.openjdk.java.net/browse/JDK-8255718), Zero knows it runs in interpreter-only mode, so we can just leverage that. 
> 
> Additional testing: 
>   - [x] `compiler/blackhole` tests are skipped with Zero
>   - [x] `compiler/blackhole` tests still run with Server

trivial.

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

Marked as reviewed by kvn (Reviewer).

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


More information about the hotspot-compiler-dev mailing list