Integrated: 8324259: Classes used by CDS at runtime should be archived
Matias Saavedra Silva
matsaave at openjdk.org
Wed Oct 2 14:48:43 UTC 2024
On Fri, 27 Sep 2024 19:37:20 GMT, Matias Saavedra Silva <matsaave at openjdk.org> wrote:
> 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.
This pull request has now been integrated.
Changeset: 88380484
Author: Matias Saavedra Silva <matsaave at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/883804841ef9319a18f90a852272c69bc54f5395
Stats: 77 lines in 3 files changed: 77 ins; 0 del; 0 mod
8324259: Classes used by CDS at runtime should be archived
Reviewed-by: iklam, ccheung
-------------
PR: https://git.openjdk.org/jdk/pull/21232
More information about the hotspot-runtime-dev
mailing list