[jdk16] RFR: 8259275: JRuby crashes while resolving invokedynamic instruction

Calvin Cheung ccheung at openjdk.java.net
Mon Jan 11 18:01:19 UTC 2021


Please review this proposed change which fixes 2 problems during CDS dump time:

- in `ClassListParser::resolve_indy()`, exception could be thrown from `bootstrap_specifier.resolve_bsm()` but was not handled;
- in `ConstantPool::remove_unshareable_info()`, tag was not setup correctly on error conditions.

Passed tiers 1 - 4 testing.

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

Commit messages:
 - 8259275: JRuby crashes while resolving invokedynamic instruction

Changes: https://git.openjdk.java.net/jdk16/pull/104/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk16&pr=104&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8259275
  Stats: 221 lines in 8 files changed: 183 ins; 17 del; 21 mod
  Patch: https://git.openjdk.java.net/jdk16/pull/104.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk16 pull/104/head:pull/104

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


More information about the hotspot-runtime-dev mailing list