Integrated: 8267350: Archived old interface extends interface with default method causes crash
Calvin Cheung
ccheung at openjdk.java.net
Thu May 20 21:05:45 UTC 2021
On Thu, 20 May 2021 17:02:11 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> 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)
This pull request has now been integrated.
Changeset: 1c7a1310
Author: Calvin Cheung <ccheung at openjdk.org>
URL: https://git.openjdk.java.net/jdk/commit/1c7a1310d9985fd0ad05d901186eb0b6c0045d74
Stats: 196 lines in 6 files changed: 195 ins; 0 del; 1 mod
8267350: Archived old interface extends interface with default method causes crash
Reviewed-by: iklam, minqi
-------------
PR: https://git.openjdk.java.net/jdk/pull/4132
More information about the hotspot-runtime-dev
mailing list