RFR: 8314838: 3 compiler tests ignore vm flags

Evgeny Nikitin enikitin at openjdk.org
Thu Sep 7 07:47:56 UTC 2023


For the compiler tests in question this PR:

- replaces all calls to `ProcessTools.createJavaProcessBuilder` with another method, the `createTestJvm`, which prepends given arguments with what was passed to the enclosing test. The change therefore...
- makes sure the external arguments aren't ignored and are used for creating the inner JVM;
- adds `@requires` guards in some places - where the test explicitly controls the Tiered Compilation, for example.

Testing: a local and a CI run, no failures registered.

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

Commit messages:
 - 8314838: 3 compiler tests ignore vm flags

Changes: https://git.openjdk.org/jdk/pull/15609/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=15609&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8314838
  Stats: 39 lines in 4 files changed: 9 ins; 14 del; 16 mod
  Patch: https://git.openjdk.org/jdk/pull/15609.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/15609/head:pull/15609

PR: https://git.openjdk.org/jdk/pull/15609


More information about the hotspot-compiler-dev mailing list