RFR: 8357917: Assert in MetaspaceShared::preload_and_dump() when printing exception

Ioi Lam iklam at openjdk.org
Tue May 27 21:55:30 UTC 2025


Please review this trivial patch for printing exceptions that happened during AOT cache dumping.

We observed the crash when running tests with [JEP 514](https://openjdk.org/jeps/514), but the root cause is pre-existing.

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

Commit messages:
 - 8357917: Assert in MetaspaceShared::preload_and_dump() when printing exception

Changes: https://git.openjdk.org/jdk/pull/25473/files
  Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25473&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8357917
  Stats: 2 lines in 1 file changed: 1 ins; 0 del; 1 mod
  Patch: https://git.openjdk.org/jdk/pull/25473.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/25473/head:pull/25473

PR: https://git.openjdk.org/jdk/pull/25473


More information about the hotspot-runtime-dev mailing list