RFR: 8349009: JVM fails to start when AOTClassLinking is used with unverifiable old classes [v4]
Ioi Lam
iklam at openjdk.org
Thu Jan 30 06:16:38 UTC 2025
> During the testing of [JDK-8348752](https://bugs.openjdk.org/browse/JDK-8348752), we notice test failures caused by unverifiable old classes (i.e., classes with bad instructions and major version < 50).
>
> The fix is simple. Simply exclude unlinked classes from the AOTCache when `-XX:+AOTClassLinking` is enabled.
>
> Verified with JCK.
Ioi Lam has updated the pull request incrementally with one additional commit since the last revision:
Exclude test cases that assume (verifiable) old classes are always archived; but they are now not archived when -XX:+AOTClassLinking is enabled
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/23361/files
- new: https://git.openjdk.org/jdk/pull/23361/files/c700a7bc..cf474b70
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=23361&range=03
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=23361&range=02-03
Stats: 15 lines in 1 file changed: 14 ins; 0 del; 1 mod
Patch: https://git.openjdk.org/jdk/pull/23361.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/23361/head:pull/23361
PR: https://git.openjdk.org/jdk/pull/23361
More information about the hotspot-runtime-dev
mailing list