RFR: 8368199: Add @AOTSafeClassInitializer to jdk.internal.access.SharedSecrets [v4]
Dan Heidinga
heidinga at openjdk.org
Tue Oct 28 18:57:01 UTC 2025
On Tue, 28 Oct 2025 18:51:40 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.
>
> Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
>
> Updated comments about @AOTSafeClassInitializer in SharedSecrets.java
Marked as reviewed by heidinga (no project role).
-------------
PR Review: https://git.openjdk.org/jdk/pull/27880#pullrequestreview-3390359439
More information about the hotspot-runtime-dev
mailing list