[jdk21u-dev] RFR: 8340398: [JVMCI] Unintuitive behavior of UseJVMCICompiler option

Goetz Lindenmaier goetz at openjdk.org
Thu Oct 17 07:39:24 UTC 2024


On Fri, 4 Oct 2024 18:43:21 GMT, Todd V. Jonker <duke at openjdk.org> wrote:

> 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. 
> 
> Equivalent backport to 23: https://github.com/openjdk/jdk23u/pull/136

Hi Todd,
I'm not sure this is a good candidate for backport. 
As you say, it will change the way the compilers are loaded and operated. 
This might be quite unexpected for graal/truffle users if they update from 21.0.5 to 21.0.6.

Also, how did you test this backport?

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

PR Comment: https://git.openjdk.org/jdk21u-dev/pull/1024#issuecomment-2418789516


More information about the jdk-updates-dev mailing list