Integrated: 8357506: [JVMCI] Consolidate eager JVMCI initialization code

Doug Simon dnsimon at openjdk.org
Fri May 23 06:35:57 UTC 2025


On Wed, 21 May 2025 20:58:23 GMT, Doug Simon <dnsimon at openjdk.org> wrote:

> While working on [JDK-8357135](https://bugs.openjdk.org/browse/JDK-8357135), I was reminded that some of the code implementing eager JVMCI compiler initialization (i.e. `-XX:+EagerJVMCI`) is in helper methods such as `JVMCIRuntime::call_getCompiler` that sound general purpose but are only used for eager JVMCI compiler initialization. This PR inlines `JVMCIRuntime::call_getCompiler` and renames `JVMCI::initialize_compiler` to `initialize_compiler_in_create_vm` to make its single use case clearer.

This pull request has now been integrated.

Changeset: d6e4c5f6
Author:    Doug Simon <dnsimon at openjdk.org>
URL:       https://git.openjdk.org/jdk/commit/d6e4c5f65932114b5c6f455db6cfaa220607ce18
Stats:     25 lines in 6 files changed: 5 ins; 14 del; 6 mod

8357506: [JVMCI] Consolidate eager JVMCI initialization code

Reviewed-by: kvn, yzheng

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

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


More information about the graal-dev mailing list