RFR: 8340576: Some JVMCI flags are inconsistent

Todd V. Jonker duke at openjdk.org
Tue Sep 24 22:02:34 UTC 2024


On Sun, 22 Sep 2024 11:51:20 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> This PR replaces some uses of `UseJVMCICompiler` with `EnableJVMCI` so that JVMCI code paths are taken when JVMCI is only used for non-CompilerBroker compilations.

Studying these recent changes led me back to #14851 which added jtreg propeties:

- `jdk.hasLibgraal`: the libgraal shared library file is present
- `vm.libgraal.enabled`: libgraal is used as JIT compiler

The latter now feels misleading, since libgraal can be "enabled" for use by non-CompilerBroker compilations, without being used as the JIT compiler.  (I'm here b/c we're assembling a distro doing exactly that.)

Would it make sense to rename the latter, to reduce ambiguity in the tests?

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

PR Comment: https://git.openjdk.org/jdk/pull/21120#issuecomment-2372462365


More information about the hotspot-dev mailing list