RFR: 8326742: Change compiler tests without additional VM flags from @run driver to @run main

Evgeny Nikitin enikitin at openjdk.org
Fri Apr 19 10:14:09 UTC 2024


The idea of the bug was to lower down the number of tests that use driver mode incorrectly. My investigation shows up that the vast majority of such tests start other processes and in fact are more of the wrappers around that processes. Most of the secondary processes are started using ProcessTools and therefore getting additional VM flags provided by user.

I found only one test that seem to use driver mode incorrectly, this PR fixes it.
Testing: tiers1-5, linux-x64/aarch64, macosx-x64/aarch64, windows-x64, all in debug flavours.

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

Commit messages:
 - 8326742: Change compiler tests without additional VM flags from @run driver to @run main

Changes: https://git.openjdk.org/jdk/pull/18854/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=18854&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8326742
  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/18854.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/18854/head:pull/18854

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


More information about the hotspot-compiler-dev mailing list