Integrated: 8309136: [JVMCI] add -XX:+UseGraalJIT flag
Doug Simon
dnsimon at openjdk.org
Mon Jun 5 20:51:08 UTC 2023
On Tue, 30 May 2023 22:31:13 GMT, Doug Simon <dnsimon at openjdk.org> wrote:
> Use of the Graal-based JIT in OpenJDK currently requires the following flag: `-XX:+EnableJVMCIProduct`
>
> This has no direct association with Graal. If the JDK image happens to include a non-Graal JVMCI implementation, it will be automatically selected. This would come as a surprise to users who equate JVMCI with Graal.
>
> This PR introduces a new flag, `-XX:+UseGraalJIT` to address these shortcomings. It is an alias for `-XX:+EnableJVMCIProduct -Djvmci.Compiler=graal`.
>
> When `-XX:+UseGraalJIT` is specified, the VM fails fast at startup if there is a non-Graal JVMCI implementation or no JVMCI implementation in the JDK image.
This pull request has now been integrated.
Changeset: b3c9d678
Author: Doug Simon <dnsimon at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/b3c9d6785e061faf5ea9574bed2f9ab73cc11eaf
Stats: 66 lines in 5 files changed: 43 ins; 0 del; 23 mod
8309136: [JVMCI] add -XX:+UseGraalJIT flag
Reviewed-by: dholmes, kvn
-------------
PR: https://git.openjdk.org/jdk/pull/14231
More information about the hotspot-dev
mailing list