RFR: 8368199: Add @AOTSafeClassInitializer to jdk.internal.access.SharedSecrets [v4]
Chen Liang
liach at openjdk.org
Wed Oct 29 03:23:04 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
The updated comments look very clear. Thanks!
-------------
Marked as reviewed by liach (Reviewer).
PR Review: https://git.openjdk.org/jdk/pull/27880#pullrequestreview-3391539750
More information about the hotspot-runtime-dev
mailing list