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

Aleksey Shipilev shade at openjdk.java.net
Fri Sep 3 15:55:57 UTC 2021


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

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

Commit messages:
 - Implement

Changes: https://git.openjdk.java.net/jdk/pull/5365/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=5365&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8273335
  Stats: 6 lines in 6 files changed: 6 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk/pull/5365.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/5365/head:pull/5365

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


More information about the hotspot-compiler-dev mailing list