Integrated: 8368199: Add @AOTSafeClassInitializer to jdk.internal.access.SharedSecrets
Ioi Lam
iklam at openjdk.org
Wed Oct 29 03:26:16 UTC 2025
On Fri, 17 Oct 2025 22:20:12 GMT, Ioi Lam <iklam at openjdk.org> wrote:
> By annotating `SharedSecrets` as `@AOTSafeClassInitializer`, we can avoid using the `@AOTRuntimeSetup` annotations in a few JDK core classes. This simplifies the implementation. It also brings us closer to the goal of making the AOT cache as a true snapshot of the JVM state that just needs to be resumed in the production run.
This pull request has now been integrated.
Changeset: 0687f120
Author: Ioi Lam <iklam at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/0687f120cc324f35fe43d811b6beb4184fd854ec
Stats: 260 lines in 10 files changed: 224 ins; 35 del; 1 mod
8368199: Add @AOTSafeClassInitializer to jdk.internal.access.SharedSecrets
Reviewed-by: liach, heidinga
-------------
PR: https://git.openjdk.org/jdk/pull/27880
More information about the hotspot-runtime-dev
mailing list