Integrated: 8277100: Dynamic dump can inadvertently overwrite default CDS archive

Calvin Cheung ccheung at openjdk.java.net
Mon Dec 20 23:22:06 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.

This pull request has now been integrated.

Changeset: 8549d8b5
Author:    Calvin Cheung <ccheung at openjdk.org>
URL:       https://git.openjdk.java.net/jdk/commit/8549d8b5697606ef87bb3f72abcf14dd7eb8a151
Stats:     63 lines in 2 files changed: 63 ins; 0 del; 0 mod

8277100: Dynamic dump can inadvertently overwrite default CDS archive

Reviewed-by: iklam, minqi, dholmes

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

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


More information about the hotspot-runtime-dev mailing list