RFR: 8368199: Add @AOTSafeClassInitializer to jdk.internal.access.SharedSecrets [v2]
Ioi Lam
iklam at openjdk.org
Tue Oct 28 04:06:41 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:
Added StatelessOopsFinder
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/27880/files
- new: https://git.openjdk.org/jdk/pull/27880/files/a886aa85..c6ea93c3
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=27880&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=27880&range=00-01
Stats: 217 lines in 4 files changed: 211 ins; 6 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