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

Todd V. Jonker duke at openjdk.org
Mon Oct 7 16:22:20 UTC 2024


Clean backport of patch authored by @tzezula and approved by @dougxc

The patch default-enables `useJVMCINativeLibrary` when `EnableJVMCI` is on and `libgraal` present. While this is a behavior change, it seems unlikely that users would deploy `libgraal` and _not_ want it used by JVMCI.

This streamlines configuration of our JDK+Graal distro, which in turn allows two failing tests to pass without modification. Ultimately I'm aiming to get this into jdk21 which is our upstream: https://github.com/openjdk/jdk21u-dev/pull/1024

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

Commit messages:
 - Backport 4cd8c75a55163be33917b1fba9f360ea816f3aa9

Changes: https://git.openjdk.org/jdk23u/pull/136/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk23u&pr=136&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8340398
  Stats: 21 lines in 3 files changed: 12 ins; 3 del; 6 mod
  Patch: https://git.openjdk.org/jdk23u/pull/136.diff
  Fetch: git fetch https://git.openjdk.org/jdk23u.git pull/136/head:pull/136

PR: https://git.openjdk.org/jdk23u/pull/136


More information about the jdk-updates-dev mailing list