RFR: 8345635: JVMCI compiler should not be disabled by java -Xshare:dump [v2]

Ioi Lam iklam at openjdk.org
Wed Dec 11 21:09:22 UTC 2024


On Wed, 11 Dec 2024 20:27:10 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

>> `CDSConfig::check_vm_args_consistency()` is called before `CompilerConfig::check_args_consistency()`, so I need to catch all "user facing" arguments that can enable the `EnableJVMCI` flag. That's why I am checking `UseGraalJIT` and `UseJVMCICompiler` directly.
>> 
>> Are there any other flags that may cause `EnableJVMCI` to true?
>
> Yes: `-XX:+EnableJVMCIProduct` and of course `-XX:+EnableJVMCI` itself.

I added the check for `EnableJVMCIProduct` and `EnableJVMCI`.

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

PR Review Comment: https://git.openjdk.org/jdk/pull/22687#discussion_r1880996228


More information about the hotspot-runtime-dev mailing list