RFR: 8349009: JVM fails to start when AOTClassLinking is used with unverifiable old classes [v3]

John R Rose jrose at openjdk.org
Thu Jan 30 04:31:50 UTC 2025


On Thu, 30 Jan 2025 04:14:05 GMT, Ioi Lam <iklam at openjdk.org> wrote:

>> 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 two additional commits since the last revision:
> 
>  - Fixed typo
>  - Added comments suggested by @rose00

Marked as reviewed by jrose (Reviewer).

-------------

PR Review: https://git.openjdk.org/jdk/pull/23361#pullrequestreview-2582888974


More information about the hotspot-runtime-dev mailing list