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

Calvin Cheung ccheung at openjdk.org
Wed Dec 11 20:56:45 UTC 2024


On Wed, 11 Dec 2024 19:04:49 GMT, Ioi Lam <iklam at openjdk.org> wrote:

> 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.

Looks good.

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

Marked as reviewed by ccheung (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/22687#pullrequestreview-2496939092


More information about the hotspot-runtime-dev mailing list