RFR: 8267350: Archived old interface extends interface with default method causes crash
Calvin Cheung
ccheung at openjdk.java.net
Thu May 20 17:12:01 UTC 2021
During CDS dumping, an old class/interface won't be linked/rewritten. If an old interface extends an interface which contains a default method, the `_default_vtable_indices` will be updated during runtime. This small path is to make the `_default_vtable_indices` r/w during dump time for a class which hasn't been rewritten during dump time.
Testing:
- [x] mach5 tiers 1 - 4 (including the new test)
-------------
Commit messages:
- 8267350: Archived old interface extends interface with default method causes crash
Changes: https://git.openjdk.java.net/jdk/pull/4132/files
Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=4132&range=00
Issue: https://bugs.openjdk.java.net/browse/JDK-8267350
Stats: 196 lines in 6 files changed: 195 ins; 0 del; 1 mod
Patch: https://git.openjdk.java.net/jdk/pull/4132.diff
Fetch: git fetch https://git.openjdk.java.net/jdk pull/4132/head:pull/4132
PR: https://git.openjdk.java.net/jdk/pull/4132
More information about the hotspot-runtime-dev
mailing list