RFR: 8368199: Add @AOTSafeClassInitializer to jdk.internal.access.SharedSecrets [v4]
Ioi Lam
iklam at openjdk.org
Tue Oct 28 18:51:40 UTC 2025
> 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
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27880/files
- new: https://git.openjdk.org/jdk/pull/27880/files/6ae1172a..3121fd11
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27880&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27880&range=02-03
Stats: 15 lines in 1 file changed: 12 ins; 3 del; 0 mod
Patch: https://git.openjdk.org/jdk/pull/27880.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/27880/head:pull/27880
PR: https://git.openjdk.org/jdk/pull/27880
More information about the hotspot-runtime-dev
mailing list