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

Vladimir Kozlov kvn at openjdk.org
Thu Jan 30 04:02:45 UTC 2025


On Thu, 30 Jan 2025 03:27:34 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 copyright
>  - Fixed typo

Good.

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

Marked as reviewed by kvn (Reviewer).

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


More information about the hotspot-runtime-dev mailing list