Integrated: 8261090: Store old classfiles in static CDS archive

Calvin Cheung ccheung at openjdk.java.net
Thu Apr 22 15:16:23 UTC 2021


On Wed, 14 Apr 2021 00:14:46 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> Please review this RFE for storing old classfiles with major version < 50 in static CDS archive.
> During static CDS dump time, old classes won't be verified/rewritten. They will be verified/rewritten during runtime.
> Therefore, the `_constMethod`, `_constants`, and `_cache` of old classes must be stored in the RW region of the archive for runtime rewriting. The `ConstantPool::remove_unshareable_info` will be skipped during dump time and the `ConstantPool::restore_unshareable_info` will be skipped during runtime for old classes.
> 
> Passed tiers 1,2,3,4 tests on mach5.

This pull request has now been integrated.

Changeset: 94991750
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/94991750
Stats:     911 lines in 29 files changed: 869 ins; 16 del; 26 mod

8261090: Store old classfiles in static CDS archive

Reviewed-by: iklam, minqi

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

PR: https://git.openjdk.java.net/jdk/pull/3479


More information about the hotspot-runtime-dev mailing list