RFR: 8223077: Investigate module path support for dynamic CDS archive

Yumin Qi minqi at openjdk.java.net
Fri Feb 11 16:40:08 UTC 2022


On Fri, 11 Feb 2022 00:21:24 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:

> Please review this patch for adding module path support for CDS dynamic archive.
> Before this patch, if a module path was specified when creating a base archive, the user
> won't be able to create a dynamic archive based on the base archive.
> VM will issue the following warning:
> "Dynamic archiving is disabled because base layer archive has module path"
> 
> This patch adds checking of the module patsh in the base archive and the ones specified
> for dynamic dumping. If the module paths are the same, dynamic archive will be created.
> 
> Testing: tiers 1, 2.

LGTM
TestCommon.java and UnsupportedBaseArchive.java need copyright year update.

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

Marked as reviewed by minqi (Reviewer).

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


More information about the hotspot-runtime-dev mailing list