[jdk16] RFR: 8258236: Segfault in ClassListParser::resolve_indy dumping static AppCDS archive

Calvin Cheung ccheung at openjdk.java.net
Tue Dec 15 23:16:11 UTC 2020


Please review this change for JDK 16.

In ClassListParser::resolve_indy, if a class has previously failed verification, don't proceed with resolve indy for that class to avoid dereferencing a null cpcache pointer.

Passed tiers 1,2,3,4 tests.

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

Commit messages:
 - 8258236: Segfault in ClassListParser::resolve_indy dumping static AppCDS archive

Changes: https://git.openjdk.java.net/jdk16/pull/30/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk16&pr=30&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8258236
  Stats: 191 lines in 4 files changed: 191 ins; 0 del; 0 mod
  Patch: https://git.openjdk.java.net/jdk16/pull/30.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk16 pull/30/head:pull/30

PR: https://git.openjdk.java.net/jdk16/pull/30


More information about the hotspot-runtime-dev mailing list