RFR: 8277100: Dynamic dump can inadvertently overwrite default CDS archive
Ioi Lam
iklam at openjdk.java.net
Mon Dec 20 20:01:30 UTC 2021
On Mon, 20 Dec 2021 18:14:05 GMT, Calvin Cheung <ccheung at openjdk.org> wrote:
> Please review this small fix for preventing the default CDS archive from being overwritten via the
> -XX:ArchiveClassesAtExit VM option.
>
> If the user sets the -XX:ArchiveClassesAtExit option pointing to the default CDS archive, VM will
> exit with the following message:
>
> `Cannot specify the default CDS archive for -XX:ArchiveClassesAtExit: <path to classes.jsa>`
>
> Passed CI tiers 1 and 2 tests.
LGTM
-------------
Marked as reviewed by iklam (Reviewer).
PR: https://git.openjdk.java.net/jdk/pull/6896
More information about the hotspot-runtime-dev
mailing list