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

Ioi Lam iklam at openjdk.org
Thu Jan 30 04:14:05 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 typo
 - Added comments suggested by @rose00

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

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

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

  Stats: 2 lines in 1 file changed: 0 ins; 0 del; 2 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