RFR: 8340398: [JVMCI] Unintuitive behavior of UseJVMCICompiler option [v2]

Doug Simon dnsimon at openjdk.org
Tue Sep 24 06:54:37 UTC 2024


On Tue, 24 Sep 2024 01:29:55 GMT, Todd V. Jonker <duke at openjdk.org> wrote:

> If I'm reading things correctly, the doc-string for `UseJVMCINativeLibrary` in `jvmci_globals.hpp` needs updating. That [currently states](https://github.com/openjdk/jdk/blob/78f576192e815f957db93f5f8cb3763a35474381/src/hotspot/share/jvmci/jvmci_globals.hpp#L140-L144) "Defaults to true if EnableJVMCIProduct is true and a JVMCI native library is available" but looks like it default to true if `EnableJVMCI` is true, regardless of the `EnableJVMCIProduct` setting.

That is correct and I'm making that fix [here](https://github.com/openjdk/jdk/pull/21120/files#diff-cba70430948d75c7d40424fbbc704e7d7c571d6862502e210630369d8800ec62L143). However, it wouldn't hurt to also fix it here.

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

PR Comment: https://git.openjdk.org/jdk/pull/21069#issuecomment-2370342202


More information about the hotspot-compiler-dev mailing list