RFR: 8324259: Classes used by CDS at runtime should be archived [v2]
Matias Saavedra Silva
matsaave at openjdk.org
Mon Sep 30 14:56:12 UTC 2024
> The following classes are not included in the archive at dumptime but are used at runtime when loading the archive:
>
> [0.248s][info][class,load] java.nio.file.FileSystems source: jrt:/java.base loader: boot_loader
> [0.248s][info][class,load] java.nio.file.FileSystems$DefaultFileSystemHolder source: jrt:/java.base loader: boot_loader
> [0.249s][info][class,load] java.nio.file.FileSystems$DefaultFileSystemHolder$1 source: jrt:/java.base loader: boot_loader
> [0.254s][info][class,load] java.net.URI$Parser source: jrt:/java.base loader: boot_loader
>
> This patch makes a dummy call at dumptime to archive these classes. Verified with tier 1-5 tests.
Matias Saavedra Silva has updated the pull request with a new target base due to a merge or a rebase. The incremental webrev excludes the unrelated changes brought in by the merge/rebase. The pull request contains four additional commits since the last revision:
- Merge branch 'master' into archive_8324259
- Ioi comment and test fix
- Added regression test
- 8324259: Classes used by CDS at runtime should be archived
-------------
Changes:
- all: https://git.openjdk.org/jdk/pull/21232/files
- new: https://git.openjdk.org/jdk/pull/21232/files/d268d86a..e1e6ff38
Webrevs:
- full: https://webrevs.openjdk.org/?repo=jdk&pr=21232&range=01
- incr: https://webrevs.openjdk.org/?repo=jdk&pr=21232&range=00-01
Stats: 9694 lines in 220 files changed: 6214 ins; 1915 del; 1565 mod
Patch: https://git.openjdk.org/jdk/pull/21232.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/21232/head:pull/21232
PR: https://git.openjdk.org/jdk/pull/21232
More information about the hotspot-runtime-dev
mailing list