RFR: 8374155: Add @AOTSafeClassInitializer to Record [v4]
Per Minborg
pminborg at openjdk.org
Wed Jan 14 11:21:28 UTC 2026
> This PR proposes to add the `@AOTSafeClassInitializer` annotation to the `Record` class. This allows user-created records to be annotated with `AOTSafeClassInitializer`.
>
> On multiple platforms, tested and passed:
> - [x] tier1
> - [x] tier2
> - [x] tier3
>
> Not tested:
> - [ ] tier4
> - [ ] tier5
> - [ ] tier6
Per Minborg has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains five additional commits since the last revision:
- Add annotation in test
- Merge branch 'master' into record-AOTSafeClassInitializer
- Add a real test
- Add a test
- Annotate Record with AOTSafeClassInitializer
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/29084/files
- new: https://git.openjdk.org/jdk/pull/29084/files/898e1e41..3e9d6730
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=29084&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=29084&range=02-03
Stats: 35171 lines in 482 files changed: 22472 ins; 8151 del; 4548 mod
Patch: https://git.openjdk.org/jdk/pull/29084.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/29084/head:pull/29084
PR: https://git.openjdk.org/jdk/pull/29084
More information about the hotspot-runtime-dev
mailing list