RFR: 8223077 module path dynamic archive

Calvin Cheung ccheung at openjdk.java.net
Fri Feb 11 00:29:32 UTC 2022


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.

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

Commit messages:
 - add missing files
 - 8223077: Investigate module path support for dynamic CDS archive

Changes: https://git.openjdk.java.net/jdk/pull/7437/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jdk&pr=7437&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8223077
  Stats: 176 lines in 6 files changed: 162 ins; 3 del; 11 mod
  Patch: https://git.openjdk.java.net/jdk/pull/7437.diff
  Fetch: git fetch https://git.openjdk.java.net/jdk pull/7437/head:pull/7437

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


More information about the hotspot-runtime-dev mailing list