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


> This PR fixes failures when using  `-XX:+UseJVMCICompiler` with tersts like runtime/cds/appcds/resolvedConstants/AOTLinkedLambdas.java
> 
> By default, `java -Xshare:dump` runs the JVM in interpreter-only mode (as if `-Xint` was specified). This behavior is required only when generating deterministic archives during the JDK build. Since those archives are never generated using JVMCI compiler anyway, we don't need to force `-Xint` when `java -Xshare:dump -XX:+UseJVMCICompiler` is used.

Ioi Lam has updated the pull request incrementally with two additional commits since the last revision:

 - Need to check for EnableJVMCI as well
 - Need to check for EnableJVMCIProduct as well

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/22687/files
  - new: https://git.openjdk.org/jdk/pull/22687/files/f9c83e7c..3870b625

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=22687&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=22687&range=00-01

  Stats: 1 line in 1 file changed: 0 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/22687.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/22687/head:pull/22687

PR: https://git.openjdk.org/jdk/pull/22687


More information about the hotspot-runtime-dev mailing list