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

Ioi Lam iklam at openjdk.org
Thu Jan 30 03:27:34 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 two additional commits since the last revision:

 - Fixed copyright
 - Fixed typo

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

Changes:
  - all: https://git.openjdk.org/jdk/pull/23361/files
  - new: https://git.openjdk.org/jdk/pull/23361/files/24690364..37d1492e

Webrevs:
 - full: https://webrevs.openjdk.org/?repo=jdk&pr=23361&range=01
 - incr: https://webrevs.openjdk.org/?repo=jdk&pr=23361&range=00-01

  Stats: 41 lines in 3 files changed: 38 ins; 0 del; 3 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